refactor(editor): Do not make rest api calls for disabled features (no-changelog) (#9046)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-04-04 15:53:34 +02:00
committed by GitHub
parent 217b07d735
commit 637b6c4d3e
5 changed files with 28 additions and 17 deletions

View File

@@ -19,6 +19,7 @@ const sortedProviders = computed(() => {
});
onMounted(() => {
if (!externalSecretsStore.isEnterpriseExternalSecretsEnabled) return;
try {
void externalSecretsStore.fetchAllSecrets();
void externalSecretsStore.getProviders();