wip, added popovers and dialogs for user options, made modal timeline a little bit less painful to look at
This commit is contained in:
parent
3a6dac7ce5
commit
c3e854c1f9
7 changed files with 233 additions and 70 deletions
|
|
@ -3,10 +3,6 @@ import ConfirmModal from './confirm_modal.vue'
|
|||
|
||||
export default {
|
||||
props: {
|
||||
action: {
|
||||
type: Function,
|
||||
require: true
|
||||
},
|
||||
title: {
|
||||
type: String
|
||||
},
|
||||
|
|
@ -17,7 +13,7 @@ export default {
|
|||
type: String
|
||||
}
|
||||
},
|
||||
emits: ['hide', 'show'],
|
||||
emits: ['hide', 'show', 'action'],
|
||||
data: () => ({
|
||||
showing: false
|
||||
}),
|
||||
|
|
@ -34,7 +30,7 @@ export default {
|
|||
this.$emit('hide')
|
||||
},
|
||||
doGeneric () {
|
||||
this.action()
|
||||
this.$emit('action')
|
||||
this.hide()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue