diff --git a/client/src/components/History/CurrentHistory/HistoryNavigation.vue b/client/src/components/History/CurrentHistory/HistoryNavigation.vue index 7b31df06ecfe..6610ded47c94 100644 --- a/client/src/components/History/CurrentHistory/HistoryNavigation.vue +++ b/client/src/components/History/CurrentHistory/HistoryNavigation.vue @@ -84,6 +84,18 @@ const canEditHistory = computed(() => { return canMutateHistory(props.history); }); +const historyState = computed(() => { + if (props.history.purged) { + return "purged"; + } else if (props.history.deleted) { + return "deleted"; + } else if (props.history.archived) { + return "archived"; + } else { + return "active"; + } +}); + function onDelete() { if (purgeHistory.value) { historyStore.deleteHistory(props.history.id, true); @@ -164,6 +176,14 @@ function userTitle(title: string) { + + This history has been {{ historyState }}. + Some actions might not be available. + + + +