#1472: Implement addLabelToBoardAndCard to also create Labels from the CardSidebar

Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
This commit is contained in:
fschn
2022-11-28 17:40:02 +01:00
committed by Julius Härtl
parent d3cad6adf0
commit 6ed19bd2b0
3 changed files with 26 additions and 4 deletions

View File

@@ -91,6 +91,8 @@ export default {
return false
},
randomColor() {
return Math.floor(Math.random() * (0xffffff + 1)).toString(16).padStart(6, '0')
},
},
}