|
@@ -41,7 +41,7 @@ export function useWorkLocation() {
|
|
|
if (workspaceId < 0) return '-';
|
|
if (workspaceId < 0) return '-';
|
|
|
if (obj.children) {
|
|
if (obj.children) {
|
|
|
const subObj = obj.children.find(subobj => subobj.value === workspaceId);
|
|
const subObj = obj.children.find(subobj => subobj.value === workspaceId);
|
|
|
- return obj.label + ' - ' + subObj.label;
|
|
|
|
|
|
|
+ return obj.label + ' - ' + subObj?.label;
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
|
|
|