simple role management

This commit is contained in:
2020-04-25 14:53:35 +02:00
committed by smuddy
parent 732353f5bd
commit e17b8acc9c
29 changed files with 219 additions and 31 deletions

View File

@@ -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;
}
}