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

Move action buttons to footer

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