Merge pull request #1412 from coollabsio/next

Fix database type check in service show blade file
This commit is contained in:
Andras Bacsai 2023-11-08 12:42:35 +01:00 committed by GitHub
commit 8db54ec069
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,9 +14,9 @@
href="#">Storages href="#">Storages
</a> </a>
@if ( @if (
$serviceDatabase->databaseType() === 'standalone-mysql' || $serviceDatabase?->databaseType() === 'standalone-mysql' ||
$serviceDatabase->databaseType() === 'standalone-postgresql' || $serviceDatabase?->databaseType() === 'standalone-postgresql' ||
$serviceDatabase->databaseType() === 'standalone-mariadb') $serviceDatabase?->databaseType() === 'standalone-mariadb')
<a :class="activeTab === 'backups' && 'text-white'" <a :class="activeTab === 'backups' && 'text-white'"
@click.prevent="activeTab = 'backups'; window.location.hash = 'backups'" href="#">Backups</a> @click.prevent="activeTab = 'backups'; window.location.hash = 'backups'" href="#">Backups</a>
@endif @endif