feat: Mega entity improvements - entity directories, inehrit entities (#450), ordering (#762 / #703), better entity view

This commit is contained in:
jamesread
2025-12-01 01:38:04 +00:00
parent 736ad1c83b
commit 56365af24b
13 changed files with 529 additions and 41 deletions

View File

@@ -1,5 +1,5 @@
<template>
<button @click="router.push({ name: 'Dashboard', params: { title: component.title } })">
<button @click="navigateToDirectory">
{{ component.title }}
</button>
</template>
@@ -15,6 +15,17 @@ const props = defineProps({
required: true
}
})
function navigateToDirectory() {
const params = { title: props.component.title }
if (props.component.entityType && props.component.entityKey) {
params.entityType = props.component.entityType
params.entityKey = props.component.entityKey
}
router.push({ name: 'Dashboard', params })
}
</script>
<style scoped>