Skip to content
Snippets Groups Projects

Resolve "Changement de la racine de l'Arbre"

Merged Mathieu Massaviol requested to merge 73-changement-de-la-racine-de-l-arbre into main
7 files
+ 36
22
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -43,7 +43,6 @@ import TreeSelect from 'primevue/treeselect'
import { getResourceVisibility } from '@/helpers/resourceVisibility'
import { onMounted, ref, watch, type PropType } from 'vue'
import { useI18n } from 'vue-i18n'
import { homeNodeUri } from '@/stores/tree'
const { t } = useI18n()
const { translateValue } = useTranslateValue()
@@ -124,7 +123,7 @@ onMounted(async () => {
}
} else {
try {
for (const catalog of await getCatalogSummaryFromParentUri(homeNodeUri, props.auth)) {
for (const catalog of await getCatalogSummaryFromParentUri(props.community['@id'], props.auth)) {
if (!Object.keys(catalogList.value).includes(catalog['@id'])) {
const node = {
key: catalog['@id'],
Loading