#8463 - CardDescriptor_useCard #1597

Merged
alexm merged 23 commits from 8463-CardDescriptor_useCard into dev 2025-03-24 07:47:49 +00:00
1 changed files with 6 additions and 2 deletions
Showing only changes of commit 8bdd581764 - Show all commits

View File

@ -25,6 +25,10 @@ const $props = defineProps({
type: String,
default: 'md-width',
},
module: {
type: String,
default: null,
},
toModule: {
type: String,
default: null,
@ -41,8 +45,8 @@ const moduleName = ref();
const isSameModuleName = route.matched[1].meta.moduleName !== moduleName.value;
function getName() {
let name = $props.dataKey;
if ($props.dataKey.includes(DESCRIPTOR_PROXY)) {
let name = $props.module;
if ($props.module.includes(DESCRIPTOR_PROXY)) {
name = name.split(DESCRIPTOR_PROXY)[0];
}
return name;