fix: indicate selected location on save request

This commit is contained in:
Liyas Thomas
2021-05-13 04:26:33 +00:00
committed by GitHub
parent 2ff0f97295
commit c1f083d19f
7 changed files with 38 additions and 23 deletions

View File

@@ -120,11 +120,19 @@
collectionsType: collectionsType,
folderId: $event.id,
})
if (collectionsType.type == 'my-collections') {
if ($event.folderPath) {
picked = $event.folderPath
} else picked = index
} else {
picked = $event.id
}
"
@unselect-collection="$emit('remove-collection', collection)"
@expand-collection="expandCollection"
@remove-collection="removeCollection"
@remove-request="removeRequest"
:picked="picked"
/>
</li>
</ul>
@@ -178,6 +186,7 @@ export default {
},
teamCollectionAdapter: new TeamCollectionAdapter(null),
teamCollectionsNew: [],
picked: "",
}
},
subscriptions() {