refactor(editor): Do not make rest api calls for disabled features (no-changelog) (#9046)
This commit is contained in:
committed by
GitHub
parent
217b07d735
commit
637b6c4d3e
@@ -116,6 +116,7 @@ function resetNewVariablesList() {
|
||||
}
|
||||
|
||||
async function initialize() {
|
||||
if (!isFeatureEnabled.value) return;
|
||||
await environmentsStore.fetchAllVariables();
|
||||
|
||||
allVariables.value = [...environmentsStore.variables];
|
||||
|
||||
Reference in New Issue
Block a user