simple role management
This commit is contained in:
@@ -83,6 +83,11 @@ export class SongTextComponent implements OnInit {
|
||||
scrollTo(0, this.elRef.nativeElement.offsetTop - 20);
|
||||
}
|
||||
|
||||
public checkDisabled(i: number) {
|
||||
return this.index !== -1 && this.index !== i;
|
||||
|
||||
}
|
||||
|
||||
private getNextChordMode(): ChordMode {
|
||||
switch (this._chordMode) {
|
||||
case 'show':
|
||||
@@ -93,9 +98,4 @@ export class SongTextComponent implements OnInit {
|
||||
return 'show';
|
||||
}
|
||||
}
|
||||
|
||||
checkDisabled(i: number) {
|
||||
return this.index !== -1 && this.index !== i;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user