Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,7 @@
return true;
});

const showDraftMode = computed(() =>
hasFeatureEnabled.value(FeatureFlagKeys.test_dev_feature),
);
const showDraftMode = computed(() => hasFeatureEnabled.value(FeatureFlagKeys.draft_channels));

const submitText = computed(() => {
return mode.value === PublishModes.DRAFT ? saveDraft$() : publishAction$();
Expand Down
5 changes: 5 additions & 0 deletions contentcuration/contentcuration/static/feature_flags.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
"type": "boolean",
"title":"Test Survey feature",
"description": "Allow user access to Survey"
},
"draft_channels": {
"type": "boolean",
"title": "Draft channels",
"description": "Allow users to publish draft channels"
}
},
"examples": [
Expand Down
Loading