fix(database): adjust MongoDB restore command and import view styling

This commit is contained in:
Andras Bacsai
2025-01-28 12:41:22 +01:00
parent cd8330d15f
commit 1ec15af1ad
2 changed files with 2 additions and 2 deletions

View File

@@ -221,7 +221,7 @@ EOD;
case \App\Models\StandaloneMongodb::class: case \App\Models\StandaloneMongodb::class:
$restoreCommand = $this->mongodbRestoreCommand; $restoreCommand = $this->mongodbRestoreCommand;
if ($this->dumpAll === false) { if ($this->dumpAll === false) {
$restoreCommand .= " {$tmpPath}"; $restoreCommand .= "{$tmpPath}";
} }
break; break;
} }

View File

@@ -40,7 +40,7 @@
@if ($unsupported) @if ($unsupported)
<div>Database restore is not supported.</div> <div>Database restore is not supported.</div>
@else @else
<div class="mt-2 mb-4 rounded alert-error"> <div class="pt-2 rounded alert-error">
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6 stroke-current shrink-0" fill="none" <svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6 stroke-current shrink-0" fill="none"
viewBox="0 0 24 24"> viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"