mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
fixed linting errors
This commit is contained in:
parent
ff0ad91a96
commit
24bd114611
2 changed files with 3 additions and 3 deletions
|
@ -74,9 +74,9 @@ export class AppComponent implements OnInit {
|
|||
}
|
||||
|
||||
public roleClass() {
|
||||
if (this.user.roles.some(r => r === 'Admin')) {
|
||||
if (this.user.roles.some(r => r === "Admin")) {
|
||||
return "adminUser";
|
||||
} else if (this.user.roles.some(r => r === 'PowerUser')) {
|
||||
} else if (this.user.roles.some(r => r === "PowerUser")) {
|
||||
return "powerUser";
|
||||
}
|
||||
return "user";
|
||||
|
|
|
@ -9,7 +9,7 @@ export class SettingsMenuComponent {
|
|||
}
|
||||
|
||||
public ngOnInit() {
|
||||
var element = document.getElementById("settings");
|
||||
const element = document.getElementById("settings");
|
||||
if (element != null) {
|
||||
element.classList.add("active");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue