Commit 2cfbe0ec authored by Clement Ho's avatar Clement Ho

[skip ci] add comments

parent 07ca3dc4
...@@ -8,7 +8,7 @@ export default { ...@@ -8,7 +8,7 @@ export default {
user: { user: {
type: Object, type: Object,
required: true, required: true,
} },
}, },
computed: { computed: {
userUrl() { userUrl() {
......
/* global Flash */ /* global Flash */
import Vue from 'vue';
import eventHub from './event_hub'; import eventHub from './event_hub';
import AssigneeTitle from './components/assignee_title'; import AssigneeTitle from './components/assignee_title';
......
...@@ -4,11 +4,18 @@ export default class SidebarAssigneesStore { ...@@ -4,11 +4,18 @@ export default class SidebarAssigneesStore {
this.currentUserId = currentUserId; this.currentUserId = currentUserId;
this.rootPath = rootPath; this.rootPath = rootPath;
// Tracks the selected users
this.userIds = []; this.userIds = [];
// Tracks the rendered users
this.users = [];
this.loading = false; this.loading = false;
this.editable = editable; this.editable = editable;
this.setUsers(assignees); this.setUsers(assignees);
assignees.forEach(a => this.addUserId(a.id)); assignees.forEach(a => this.addUserId(a.id));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment