mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
creatign role/webhook titles
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<private-view :title="loading ? $t('loading') : $t('editing_role', { role: item && item.name })">
|
||||
<private-view :title="loading ? $t('loading') : (isNew === false)? $t('editing_role', { role: item && item.name }) : $t('creating_role') ">
|
||||
<template #headline>{{ $t('settings_permissions') }}</template>
|
||||
<template #title-outer:prepend>
|
||||
<v-button class="header-icon" rounded icon exact :to="`/settings/roles/`">
|
||||
|
||||
@@ -106,7 +106,7 @@ export default defineComponent({
|
||||
|
||||
const title = computed(() => {
|
||||
if (loading.value) return i18n.t('loading');
|
||||
if (isNew.value) return i18n.t('adding_webhook');
|
||||
if (isNew.value) return i18n.t('creating_webhook');
|
||||
return item.value.name;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user