fix: Fix directory and file mount headings in file-storage.blade.php

This commit is contained in:
Andras Bacsai
2024-08-29 12:03:23 +02:00
parent d27b1766e6
commit b8a37d897e
4 changed files with 7 additions and 5 deletions

View File

@@ -3526,6 +3526,9 @@ function newParser(Application|Service $resource, int $pull_request_id = 0, ?int
'networks' => $networks_temp,
'labels' => $serviceLabels,
]);
if ($ports->count() > 0) {
$payload['ports'] = $ports;
}
if ($volumesParsed->count() > 0) {
$payload['volumes'] = $volumesParsed;
}
@@ -3544,6 +3547,7 @@ function newParser(Application|Service $resource, int $pull_request_id = 0, ?int
$parsedServices->put($serviceName, $payload);
}
ray($parsedServices);
$topLevel->put('services', $parsedServices);
$customOrder = ['services', 'volumes', 'networks', 'configs', 'secrets'];