diff --git a/Moonlight/Shared/Components/ErrorBoundaries/SoftErrorBoundary.razor b/Moonlight/Shared/Components/ErrorBoundaries/SoftErrorBoundary.razor
index fe27ce6a..bff6a292 100644
--- a/Moonlight/Shared/Components/ErrorBoundaries/SoftErrorBoundary.razor
+++ b/Moonlight/Shared/Components/ErrorBoundaries/SoftErrorBoundary.razor
@@ -2,6 +2,7 @@
@using Moonlight.App.Exceptions
@using Moonlight.App.Services
@using Logging.Net
+@using Moonlight.App.ApiClients.CloudPanel
@inherits ErrorBoundaryBase
@inject AlertService AlertService
@@ -62,11 +63,11 @@ else
Logger.Warn($"Wings exception status code: {wingsException.StatusCode}");
}
- else if (exception is PleskException pleskException)
+ else if (exception is CloudPanelException cloudPanelException)
{
await AlertService.Error(
- SmartTranslateService.Translate("Error from plesk"),
- pleskException.Message
+ SmartTranslateService.Translate("Error from cloud panel"),
+ cloudPanelException.Message
);
}
else if (exception is NotImplementedException)
diff --git a/Moonlight/Shared/Views/Admin/Domains/Index.razor b/Moonlight/Shared/Views/Admin/Domains/Index.razor
index 406aab1f..856f2f11 100644
--- a/Moonlight/Shared/Views/Admin/Domains/Index.razor
+++ b/Moonlight/Shared/Views/Admin/Domains/Index.razor
@@ -54,6 +54,7 @@
+
diff --git a/Moonlight/Shared/Views/Changelog.razor b/Moonlight/Shared/Views/Changelog.razor
index 59ef0a2d..30b376bc 100644
--- a/Moonlight/Shared/Views/Changelog.razor
+++ b/Moonlight/Shared/Views/Changelog.razor
@@ -3,6 +3,23 @@
@{
List changelog = new List
{
+ new[]
+ {
+ "Patch 4, 19.04.2023",
+ "Switched from plesk to cloud panel (fuck you plesk ;) )",
+ "Domain regex fix",
+ "Hide create button on not auth state"
+ },
+ new[]
+ {
+ "Patch 3, 16.04.2023",
+ "Fixed server allocation bug"
+ },
+ new[]
+ {
+ "Patch 2, 16.04.2023",
+ "Fixed xterm addons"
+ },
new[]
{
"Patch 1, 16.04.2023",
@@ -12,19 +29,9 @@
"Backup error handling improved",
"Client side javascript sorted",
"Sorted user server list implemented"
- },
- new[]
- {
- "Patch 2, 16.04.2023",
- "Fixed xterm addons"
- },
- new[]
- {
- "Patch 3, 16.04.2023",
- "Fixed server allocation bug"
}
};
-
+
int i = 0;
}