Skip to content
Snippets Groups Projects

Fix: Institute and Organizations not shown in the user page

Merged Petar Hristov requested to merge Hotfix/2160-userOrgsInst into main
6 files
+ 68
38
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -132,6 +132,28 @@ export default defineComponent({
return this.resourceStore.currentResource;
},
},
watch: {
crumbs() {
let title =
this.crumbs.map((n) => n.text).at(-1) ??
this.$t("breadcrumbs.home").toString();
if (
this.resource &&
this.resource.type &&
this.resource.type.displayName
) {
title = title.replace(
`${this.$t(
"resourceTypes." + this.resource.type.displayName + ".displayName"
)}: `,
""
);
}
document.title = this.$t("default.documentModifiedTitle", {
title: title,
}).toString();
},
},
});
</script>
Loading