diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-08 18:08:15 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-08 18:08:15 +0300 |
commit | e18e22ce4c7a4ee0680adda25e4cfa9cf4bb1be4 (patch) | |
tree | ad5cdd2a994e9ae4627330769eb5004f49d6f435 /app/assets/javascripts/feature_flags | |
parent | cdda3d117c99cadf295f26abc92cb2456033b762 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/feature_flags')
-rw-r--r-- | app/assets/javascripts/feature_flags/components/feature_flags_table.vue | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/app/assets/javascripts/feature_flags/components/feature_flags_table.vue b/app/assets/javascripts/feature_flags/components/feature_flags_table.vue index f8a8bed2467..f0f42d19ea5 100644 --- a/app/assets/javascripts/feature_flags/components/feature_flags_table.vue +++ b/app/assets/javascripts/feature_flags/components/feature_flags_table.vue @@ -81,6 +81,20 @@ export default { }); }, }, + modal: { + actionPrimary: { + text: s__('FeatureFlags|Delete feature flag'), + attributes: { + variant: 'danger', + }, + }, + actionSecondary: { + text: __('Cancel'), + attributes: { + variant: 'default', + }, + }, + }, }; </script> <template> @@ -193,11 +207,11 @@ export default { <gl-modal :ref="modalId" :title="modalTitle" - :ok-title="s__('FeatureFlags|Delete feature flag')" :modal-id="modalId" title-tag="h4" - ok-variant="danger" - category="primary" + size="sm" + :action-primary="$options.modal.actionPrimary" + :action-secondary="$options.modal.actionSecondary" @ok="onSubmit" > {{ deleteModalMessage }} |