fix(database): adjust MongoDB restore command and import view styling
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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"
|
||||||
|
Reference in New Issue
Block a user