Skip to content

Commit 4e339ff

Browse files
committed
Add draft_channels feature flag
1 parent 0629ee8 commit 4e339ff

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

contentcuration/contentcuration/frontend/channelEdit/components/sidePanels/PublishSidePanel.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,7 @@
264264
return true;
265265
});
266266
267-
const showDraftMode = computed(() =>
268-
hasFeatureEnabled.value(FeatureFlagKeys.test_dev_feature),
269-
);
267+
const showDraftMode = computed(() => hasFeatureEnabled.value(FeatureFlagKeys.draft_channels));
270268
271269
const submitText = computed(() => {
272270
return mode.value === PublishModes.DRAFT ? saveDraft$() : publishAction$();

contentcuration/contentcuration/static/feature_flags.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
"type": "boolean",
1919
"title":"Test Survey feature",
2020
"description": "Allow user access to Survey"
21+
},
22+
"draft_channels": {
23+
"type": "boolean",
24+
"title": "Draft channels",
25+
"description": "Allow users to publish draft channels"
2126
}
2227
},
2328
"examples": [

0 commit comments

Comments
 (0)