Skip to content
Snippets Groups Projects
Commit 27cec7b9 authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Rename computed property

parent 070697e3
No related branches found
No related tags found
1 merge request!329Introduce substitution to do list
......@@ -37,7 +37,7 @@ import {
hide-details
:placeholder="$t('chronos.substitutions.overview.filter.groups')"
:loading="$apollo.queries.groups.loading"
:value="currentObj"
:value="currentGroup"
@input="changeSelection"
@click:clear="changeSelection"
/>
......@@ -138,7 +138,7 @@ export default {
objId: this.objId ? Number(this.objId) : null,
};
},
currentObj() {
currentGroup() {
return this.groups.find((o) => o.id === this.objId);
},
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment