Skip to content

Commit c9c4627

Browse files
joshtrichardsskjnldsv
authored andcommitted
fix(tags): resolve selected tag in settings
The "Search for a tag to edit" field should show the selected tag as the selected option. It fails to do so because the object is passed instead of just the id. Signed-off-by: Josh <josh.t.richards@gmail.com>
1 parent 06efce9 commit c9c4627

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/systemtags/src/components/SystemTagForm.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ function getTagLevel(userVisible: boolean, userAssignable: boolean): TagLevel {
230230
<div class="system-tag-form__group">
231231
<label for="system-tags-input">{{ t('systemtags', 'Search for a tag to edit') }}</label>
232232
<NcSelectTags
233-
:modelValue="selectedTag"
233+
:modelValue="selectedTag?.id ?? null"
234234
inputId="system-tags-input"
235235
:placeholder="t('systemtags', 'Collaborative tags …')"
236236
:fetchTags="false"

0 commit comments

Comments
 (0)