Browse Source

Enable to create a label

pull/341/head
Hironsan 4 years ago
parent
commit
837962e94e
1 changed files with 4 additions and 1 deletions
  1. 5
      frontend/components/organisms/labels/LabelCreationForm.vue

5
frontend/components/organisms/labels/LabelCreationForm.vue

@ -81,9 +81,12 @@ export default {
create() {
if (this.validate()) {
this.createLabel({
projectId: this.$route.params.id,
text: this.labelName,
prefix_key: null,
suffix_key: this.suffixKey,
background_color: this.color
background_color: this.color.slice(0, -2),
text_color: '#ffffff'
})
this.reset()
this.cancel()

Loading…
Cancel
Save