Remove instrument label for non-instrument blocks
This commit is contained in:
parent
328a34d6d0
commit
428e51f254
|
|
@ -129,7 +129,10 @@
|
|||
},
|
||||
instrumentLabel() {
|
||||
const contentType = this.contentBlock.type.toLowerCase();
|
||||
return instrumentCategory(contentType);
|
||||
if (contentType.startsWith('base')) { // all instruments start with `base`
|
||||
return instrumentCategory(contentType);
|
||||
}
|
||||
return '';
|
||||
},
|
||||
canEditContentBlock() {
|
||||
return this.contentBlock.mine && !this.contentBlock.indent;
|
||||
|
|
|
|||
Loading…
Reference in New Issue