Files
DiceCloud/app/imports/ui/library/LibraryNodeCreationDialog.vue
2021-03-25 10:20:13 +02:00

32 lines
741 B
Vue

<template lang="html">
<selectable-property-dialog v-model="type">
<library-node-insert-form
:type="type"
:property-name="getPropertyName(type)"
@back="type = undefined"
/>
</selectable-property-dialog>
</template>
<script lang="js">
import SelectablePropertyDialog from '/imports/ui/properties/shared/SelectablePropertyDialog.vue';
import LibraryNodeInsertForm from '/imports/ui/library/LibraryNodeInsertForm.vue';
import { getPropertyName } from '/imports/constants/PROPERTIES.js';
export default {
components: {
SelectablePropertyDialog,
LibraryNodeInsertForm,
},
data() { return {
type: undefined,
};},
methods: {
getPropertyName,
},
};
</script>
<style lang="css" scoped>
</style>