fix: unable to add parameters to new routines/functions

This commit is contained in:
Fabio Di Stasio 2022-04-26 13:01:21 +02:00
parent 88eb9f7ab8
commit 350d53642e
3 changed files with 10 additions and 4 deletions

View File

@ -16,7 +16,7 @@
</div> </div>
<a class="btn btn-clear float-right" @click="hideModal" /> <a class="btn btn-clear float-right" @click="hideModal" />
</div> </div>
<div v-if="hasBody" class="modal-body"> <div v-if="hasBody" class="modal-body pb-0">
<a <a
v-if="!hasHeader && !hasDefault" v-if="!hasHeader && !hasDefault"
class="btn btn-clear float-right" class="btn btn-clear float-right"
@ -26,7 +26,7 @@
<slot name="body" /> <slot name="body" />
</div> </div>
</div> </div>
<div v-if="!hideFooter" class="modal-footer pt-0"> <div v-if="!hideFooter" class="modal-footer">
<button <button
class="btn btn-primary mr-2" class="btn btn-primary mr-2"
@click.stop="confirmModal" @click.stop="confirmModal"

View File

@ -181,7 +181,10 @@ export default {
ConfirmModal ConfirmModal
}, },
props: { props: {
localParameters: Array, localParameters: {
type: Array,
default: () => []
},
func: String, func: String,
workspace: Object workspace: Object
}, },

View File

@ -181,7 +181,10 @@ export default {
ConfirmModal ConfirmModal
}, },
props: { props: {
localParameters: Array, localParameters: {
type: Array,
default: () => []
},
routine: String, routine: String,
workspace: Object workspace: Object
}, },