Clone boards with stacks, labels (#1221)

Clone boards with stacks, labels
This commit is contained in:
Julius Härtl
2019-10-10 09:03:34 +02:00
committed by GitHub
8 changed files with 110 additions and 3 deletions

View File

@@ -135,6 +135,15 @@ export class BoardApi {
})
}
async cloneBoard(board) {
try {
let response = await axios.post(this.url(`/boards/${board.id}/clone`))
return response.data
} catch (err) {
return err
}
}
// Label API Calls
deleteLabel(id) {
return axios.delete(this.url(`/labels/${id}`))