Commit 8efbd6ed authored by Savas Vedova's avatar Savas Vedova

Move action buttons to footer

parent c401a604
...@@ -83,18 +83,20 @@ export default { ...@@ -83,18 +83,20 @@ export default {
<div class="pl-4">{{ stateItem.description }}</div> <div class="pl-4">{{ stateItem.description }}</div>
</li> </li>
<div class="text-right p-3"> <template #footer>
<gl-button ref="cancel-button" class="mr-2" @click="closeDropdown"> <div class="text-right px-3">
{{ __('Cancel') }} <gl-button ref="cancel-button" class="mr-2" @click="closeDropdown">
</gl-button> {{ __('Cancel') }}
<gl-button </gl-button>
ref="save-button" <gl-button
variant="success" ref="save-button"
:disabled="selected === initialStateItem" variant="success"
@click="saveState(selected)" :disabled="selected === initialStateItem"
> @click="saveState(selected)"
{{ s__('VulnerabilityManagement|Change status') }} >
</gl-button> {{ s__('VulnerabilityManagement|Change status') }}
</div> </gl-button>
</div>
</template>
</gl-dropdown> </gl-dropdown>
</template> </template>
---
title: Move action buttons to dropdown footer
merge_request: 54767
author:
type: changed
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