diff --git a/frontend/api/routes/labels.js b/frontend/api/routes/labels.js index 8ad71038..8efb1b15 100644 --- a/frontend/api/routes/labels.js +++ b/frontend/api/routes/labels.js @@ -23,6 +23,7 @@ router.post('/', (req, res) => { background_color: req.body.background_color, text_color: '#ffffff' } + db.push(label) res.json(label) }) diff --git a/frontend/components/containers/LabelCreationButton.vue b/frontend/components/containers/LabelCreationButton.vue new file mode 100644 index 00000000..c330c3bd --- /dev/null +++ b/frontend/components/containers/LabelCreationButton.vue @@ -0,0 +1,30 @@ + + + diff --git a/frontend/components/containers/LabelDeletionButton.vue b/frontend/components/containers/LabelDeletionButton.vue new file mode 100644 index 00000000..cb184c64 --- /dev/null +++ b/frontend/components/containers/LabelDeletionButton.vue @@ -0,0 +1,35 @@ + + + diff --git a/frontend/components/containers/MemberAdditionButton.vue b/frontend/components/containers/MemberAdditionButton.vue index 5e2d82e7..6e7d8f67 100644 --- a/frontend/components/containers/MemberAdditionButton.vue +++ b/frontend/components/containers/MemberAdditionButton.vue @@ -1,6 +1,6 @@