Fix role/webhook detail title

This commit is contained in:
rijkvanzanten
2020-06-04 18:40:51 -04:00
parent df3f6edf83
commit 06146df21a
3 changed files with 7 additions and 8 deletions

View File

@@ -1,11 +1,10 @@
<template>
<private-view :title="$t('editing', { collection: $t('roles') })">
<private-view :title="loading ? $t('loading') : $t('editing_role', { role: item && item.name })">
<template #title-outer:prepend>
<v-button class="header-icon" rounded icon exact :to="`/${currentProjectKey}/settings/roles/`">
<v-icon name="arrow_back" />
</v-button>
</template>
<template #actions>
<v-dialog v-model="confirmDelete">
<template #activator="{ on }">

View File

@@ -1,5 +1,5 @@
<template>
<private-view :title="$t('editing', { collection: $t('webhooks') })">
<private-view :title="$t('editing_webhook')">
<template #title-outer:prepend>
<v-button class="header-icon" rounded icon exact :to="`/${currentProjectKey}/settings/webhooks/`">
<v-icon name="arrow_back" />
@@ -61,10 +61,7 @@
</drawer-detail>
<revisions-drawer-detail v-if="isNew === false" collection="directus_webhooks" :primary-key="primaryKey" />
<drawer-detail icon="help_outline" :title="$t('help_and_docs')">
<div
class="format-markdown"
v-html="marked($t('page_help_settings_webhooks_detail'))"
/>
<div class="format-markdown" v-html="marked($t('page_help_settings_webhooks_detail'))" />
</drawer-detail>
</template>
</private-view>