mirror of
https://github.com/directus/directus.git
synced 2026-02-02 17:04:56 -05:00
Add headlines and actions:prepend portal to drawer
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
<template>
|
||||
<v-drawer v-model="_active" :title="$t('select_item')" @cancel="cancel">
|
||||
<template #subtitle>
|
||||
<v-breadcrumb :items="[{ name: collectionInfo.name, disabled: true }]" />
|
||||
</template>
|
||||
|
||||
<template #actions:prepend><portal-target name="actions:prepend" /></template>
|
||||
|
||||
<template #actions>
|
||||
<search-input v-model="searchQuery" />
|
||||
|
||||
|
||||
@@ -7,6 +7,11 @@
|
||||
<render-template :collection="templateCollection.collection" :item="templateData" :template="template" />
|
||||
</h1>
|
||||
</template>
|
||||
|
||||
<template #subtitle>
|
||||
<v-breadcrumb :items="[{ name: collectionInfo.name, disabled: true }]" />
|
||||
</template>
|
||||
|
||||
<template #actions>
|
||||
<v-button @click="save" icon rounded v-tooltip.bottom="$t('save')">
|
||||
<v-icon name="check" />
|
||||
@@ -176,6 +181,7 @@ export default defineComponent({
|
||||
templatePrimaryKey,
|
||||
templateData,
|
||||
templateDataLoading,
|
||||
collectionInfo,
|
||||
};
|
||||
|
||||
function useActiveState() {
|
||||
|
||||
Reference in New Issue
Block a user