Commit addbe85f authored by Simon Knox's avatar Simon Knox

Consolidate iterations feature flag usage

Also small UI fixup for the collapsed right sidebar
parent b7c54d3b
...@@ -156,12 +156,12 @@ export default { ...@@ -156,12 +156,12 @@ export default {
</script> </script>
<template> <template>
<div class="mt-3"> <div>
<div v-gl-tooltip class="sidebar-collapsed-icon"> <div v-gl-tooltip class="sidebar-collapsed-icon">
<gl-icon :size="16" :aria-label="$options.iterationText" name="iteration" /> <gl-icon :size="16" :aria-label="$options.iterationText" name="iteration" />
<span class="collapse-truncated-title">{{ iteration }}</span> <span class="collapse-truncated-title">{{ iteration }}</span>
</div> </div>
<div class="title hide-collapsed"> <div class="title hide-collapsed mt-3">
{{ $options.iterationText }} {{ $options.iterationText }}
<gl-button <gl-button
v-if="canEdit" v-if="canEdit"
......
- if @project.group.beta_feature_available?(:iterations) && issuable_type == "issue" - if Feature.enabled?(:group_iterations, @project.group) && @project.group.feature_available?(:iterations) && issuable_type == "issue"
.js-iteration-select{ data: { can_edit: can_edit, group_path: group_path, project_path: project_path, issue_iid: issue_iid } } .js-iteration-select{ data: { can_edit: can_edit, group_path: group_path, project_path: project_path, issue_iid: issue_iid } }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment