Commit e729ea90 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'psi-iterations-ff' into 'master'

Consolidate iterations feature flag usage

See merge request gitlab-org/gitlab!34692
parents 48a5f216 addbe85f
...@@ -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