Commit a252e26b authored by Clement Ho's avatar Clement Ho

[skip ci] refactor props

parent f3d667a6
......@@ -2,21 +2,17 @@ import CollapsedAvatar from './avatar';
export default {
name: 'CollapsedAssignees',
data: {
return {
defaultRenderCount: 5,
defaultMaxCounter: 99,
}
},
props: {
users: {
type: Array,
required: true,
},
defaultRenderCount: {
type: Number,
required: false,
default: 5,
},
defaultMaxCounter: {
type: Number,
required: false,
default: 99,
},
},
computed: {
title() {
......
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