Commit 27a503a6 authored by Clement Ho's avatar Clement Ho

[skip ci] fix props style

parent 62c152ce
export default {
name: 'AssigneeTitle',
props: {
loading: { type: Boolean, required: true },
numberOfAssignees: { type: Number, required: true },
editable: { type: Boolean, required: true },
loading: {
type: Boolean,
required: true
},
numberOfAssignees: {
type: Number,
required: true
},
editable: {
type: Boolean,
required: true
},
},
computed: {
hasMultipleAssignees() {
......
......@@ -8,7 +8,10 @@ export default {
};
},
props: {
users: { type: Array, required: true },
users: {
type: Array,
required: true
},
},
computed: {
title() {
......
export default {
name: 'CollapsedAvatar',
props: {
user: { type: Object, required: true },
user: {
type: Object,
required: true
},
},
computed: {
alt() {
......
......@@ -6,7 +6,10 @@ export default {
};
},
props: {
assignees: { type: Object, required: true },
assignees: {
type: Object,
required: true
},
},
computed: {
rootPath() {
......
export default {
name: 'NoAssignee',
props: {
assignees: { type: Object, required: true },
assignees: {
type: Object,
required: true
},
},
methods: {
assignSelf() {
......
export default {
name: 'SingleAssignee',
props: {
assignees: { type: Object, required: true },
assignees: {
type: Object,
required: true
},
},
computed: {
rootPath() {
......
......@@ -58,12 +58,12 @@ const sidebarAssigneesOptions = () => ({
},
template: `
<div>
<collapsed-assignees :users="assignees.users"/>
<assignee-title
:numberOfAssignees="assignees.users.length"
:loading="assignees.loading"
:editable="assignees.editable"
/>
<collapsed-assignees :users="assignees.users"/>
<component v-if="assignees.saved"
class="value"
:is="componentName"
......
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