From e7f184dd82d78c3a35e37f7c127f1e081ca92abb Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 8 Nov 2023 11:07:44 +0100 Subject: [PATCH] Add conditional check for backups tab in service show view --- resources/views/livewire/project/service/show.blade.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/resources/views/livewire/project/service/show.blade.php b/resources/views/livewire/project/service/show.blade.php index 8366418a2..c194fb8d6 100644 --- a/resources/views/livewire/project/service/show.blade.php +++ b/resources/views/livewire/project/service/show.blade.php @@ -13,8 +13,13 @@ @click.prevent="activeTab = 'storages'; window.location.hash = 'storages'; if(window.location.search) window.location.search = ''" href="#">Storages - Backups + @if ( + $serviceDatabase->databaseType() === 'standalone-mysql' || + $serviceDatabase->databaseType() === 'standalone-postgresql' || + $serviceDatabase->databaseType() === 'standalone-mariadb') + Backups + @endif @if (data_get($parameters, 'service_name'))