diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-14 21:08:55 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-14 21:08:55 +0300 |
commit | 3828d19ab2d68dd6cafa6f08221e1eee572671e7 (patch) | |
tree | afd36fcf20499d876493bf24bd9f0ee926454547 /app/assets/javascripts/feature_flags | |
parent | 3e764061b3209d4deee2a55851d5d564a9f19d8b (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/configure_feature_flags_modal.vue | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/app/assets/javascripts/feature_flags/components/configure_feature_flags_modal.vue b/app/assets/javascripts/feature_flags/components/configure_feature_flags_modal.vue index 366ee6bb05b..9fb5d9f0943 100644 --- a/app/assets/javascripts/feature_flags/components/configure_feature_flags_modal.vue +++ b/app/assets/javascripts/feature_flags/components/configure_feature_flags_modal.vue @@ -84,11 +84,9 @@ export default { cancelActionProps() { return { text: this.$options.translations.cancelActionLabel, - attributes: [ - { - category: 'secondary', - }, - ], + attributes: { + category: 'secondary', + }, }; }, canRegenerateInstanceId() { @@ -98,14 +96,12 @@ export default { return this.canUserRotateToken ? { text: this.$options.translations.instanceIdRegenerateActionLabel, - attributes: [ - { - category: 'secondary', - disabled: !this.canRegenerateInstanceId, - loading: this.isRotating, - variant: 'danger', - }, - ], + attributes: { + category: 'secondary', + disabled: !this.canRegenerateInstanceId, + loading: this.isRotating, + variant: 'danger', + }, } : null; }, |