Show invoice buttons depending of payment status. Fixes #54
This commit is contained in:
@@ -26,7 +26,7 @@ watch(() => props.open,
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Dialog v-bind="forwarded" :open="open">
|
||||
<Dialog v-bind="forwarded" :open="open" data-slot="send-mail-dialog">
|
||||
<DialogContent class="sm:max-w-[425px]">
|
||||
<DialogHeader>
|
||||
<DialogTitle>{{ props.title }}</DialogTitle>
|
||||
@@ -57,9 +57,9 @@ watch(() => props.open,
|
||||
</Dialog>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
<style scoped>
|
||||
/* Remove close X */
|
||||
[data-slot=dialog-content] button.ring-offset-background {
|
||||
[data-slot=send-mail-dialog] [data-slot=dialog-content] button.ring-offset-background {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user