mirror of
https://github.com/directus/directus.git
synced 2026-01-28 10:28:10 -05:00
Fix revisions title dropdown
This commit is contained in:
@@ -69,7 +69,8 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
options.value = newOptions;
|
||||
}
|
||||
},
|
||||
{ immediate: true }
|
||||
);
|
||||
|
||||
const selectedOption = computed(() => {
|
||||
@@ -80,7 +81,6 @@ export default defineComponent({
|
||||
|
||||
async function getFormattedDate(revision: Revision) {
|
||||
const date = await localizedFormat(new Date(revision!.activity.action_on), String(i18n.t('date-fns_date')));
|
||||
|
||||
const time = await localizedFormat(new Date(revision!.activity.action_on), String(i18n.t('date-fns_time')));
|
||||
|
||||
return `${date} (${time})`;
|
||||
|
||||
Reference in New Issue
Block a user