mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
update callback
This commit is contained in:
parent
c0e614f000
commit
2325289123
|
@ -87,7 +87,7 @@ export default Vue.extend({
|
|||
},
|
||||
closeDialog(callback?: () => void) {
|
||||
this.$store.commit('ui/closeTopModal');
|
||||
if (callback) {
|
||||
if (typeof callback === 'function') {
|
||||
callback();
|
||||
}
|
||||
},
|
||||
|
@ -146,4 +146,4 @@ export default Vue.extend({
|
|||
.modal-content > .el-row {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue