mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-01 16:29:29 +00:00
Add admin compliance acknowledgement gate
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
{{ title }}
|
||||
</h3>
|
||||
<button
|
||||
v-if="showCloseButton"
|
||||
@click="emit('close')"
|
||||
class="-mr-2 rounded-xl p-2 text-gray-400 transition-colors hover:bg-gray-100 hover:text-gray-600 dark:text-dark-500 dark:hover:bg-dark-700 dark:hover:text-dark-300"
|
||||
aria-label="Close modal"
|
||||
@@ -61,6 +62,7 @@ interface Props {
|
||||
width?: DialogWidth
|
||||
closeOnEscape?: boolean
|
||||
closeOnClickOutside?: boolean
|
||||
showCloseButton?: boolean
|
||||
zIndex?: number
|
||||
}
|
||||
|
||||
@@ -72,6 +74,7 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
width: 'normal',
|
||||
closeOnEscape: true,
|
||||
closeOnClickOutside: false,
|
||||
showCloseButton: true,
|
||||
zIndex: 50
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user