mirror of
https://github.com/wekan/wekan.git
synced 2025-12-27 20:58:48 +01:00
Lint fix
This commit is contained in:
parent
d01fccd949
commit
777d9ac353
4 changed files with 5 additions and 5 deletions
|
|
@ -75,7 +75,7 @@ BlazeComponent.extendComponent({
|
|||
lastLabel(){
|
||||
const lastLabelId = this.currentData().labelId;
|
||||
if (!lastLabelId)
|
||||
return;
|
||||
return null;
|
||||
const lastLabel = Boards.findOne(Session.get('currentBoard')).getLabelById(lastLabelId);
|
||||
if(lastLabel.name === undefined || lastLabel.name === ''){
|
||||
return lastLabel.color;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue