refactor: change button order and icon
This commit is contained in:
parent
d5698e9454
commit
0a5e6c48ea
2 changed files with 19 additions and 19 deletions
|
|
@ -11,6 +11,7 @@ import {
|
|||
EditButton,
|
||||
CancelButton,
|
||||
DeleteButton,
|
||||
UndoButton,
|
||||
} from 'components/button';
|
||||
|
||||
const item = defineModel<NonNullable<CustomerCreate['customerBranch']>[number]>(
|
||||
|
|
@ -56,19 +57,19 @@ defineProps<{
|
|||
type="button"
|
||||
:disabled="actionDisabled"
|
||||
/>
|
||||
<SaveButton
|
||||
icon-only
|
||||
v-if="!readonly"
|
||||
@click="$emit('save')"
|
||||
class="q-ml-auto"
|
||||
type="submit"
|
||||
:disabled="actionDisabled"
|
||||
/>
|
||||
<CancelButton
|
||||
<UndoButton
|
||||
icon-only
|
||||
v-if="!readonly"
|
||||
@click="$emit('cancel')"
|
||||
type="button"
|
||||
class="q-ml-auto"
|
||||
:disabled="actionDisabled"
|
||||
/>
|
||||
<SaveButton
|
||||
icon-only
|
||||
v-if="!readonly"
|
||||
@click="$emit('save')"
|
||||
type="submit"
|
||||
:disabled="actionDisabled"
|
||||
/>
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue