mirror of
https://github.com/hanzo-io/press.git
synced 2026-10-30 18:56:50 +00:00
* feat(Site): site update list * revert: tab routing * feat: update now option * fix: add whitelisted method to dashboard action
29 lines
532 B
Vue
29 lines
532 B
Vue
<template>
|
|
<Dialog :options="options" v-model="show">
|
|
<template v-slot:body-content>
|
|
<slot>
|
|
<GenericDialogField
|
|
v-for="field in fields"
|
|
:key="field.fieldname"
|
|
:field="field"
|
|
/>
|
|
</slot>
|
|
</template>
|
|
</Dialog>
|
|
</template>
|
|
<script>
|
|
import { Dialog } from 'frappe-ui';
|
|
import GenericDialogField from './GenericDialogField.vue';
|
|
|
|
export default {
|
|
name: 'GenericDialog',
|
|
props: ['options', 'fields'],
|
|
components: { Dialog, GenericDialogField },
|
|
data() {
|
|
return {
|
|
show: true
|
|
};
|
|
}
|
|
};
|
|
</script>
|