|
@@ -70,7 +70,7 @@ Swimlanes.attachSchema(
|
|
|
*/
|
|
|
type: String,
|
|
|
optional: true,
|
|
|
- // silver is the default, so it is left out
|
|
|
+ // silver is the default
|
|
|
allowedValues: ALLOWED_COLORS,
|
|
|
},
|
|
|
updatedAt: {
|
|
@@ -308,9 +308,6 @@ Swimlanes.mutations({
|
|
|
},
|
|
|
|
|
|
setColor(newColor) {
|
|
|
- if (newColor === 'silver') {
|
|
|
- newColor = null;
|
|
|
- }
|
|
|
return {
|
|
|
$set: {
|
|
|
color: newColor,
|