fix(editor): Show appropriate empty workflow list content when instance environment is readonly (#6610)

This commit is contained in:
Csaba Tuncsik
2023-07-06 15:57:39 +02:00
committed by GitHub
parent 8002213538
commit 7515f7d52a
3 changed files with 11 additions and 7 deletions

View File

@@ -225,10 +225,7 @@ export default defineComponent({
void this.checkForNewVersions();
void this.checkForCloudPlanData();
if (
this.sourceControlStore.isEnterpriseSourceControlEnabled &&
this.usersStore.isInstanceOwner
) {
if (this.sourceControlStore.isEnterpriseSourceControlEnabled) {
await this.sourceControlStore.getPreferences();
}