mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 05:13:18 -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() {
|
public roleClass() {
|
||||||
if (this.user.roles.some(r => r === 'Admin')) {
|
if (this.user.roles.some(r => r === "Admin")) {
|
||||||
return "adminUser";
|
return "adminUser";
|
||||||
} else if (this.user.roles.some(r => r === 'PowerUser')) {
|
} else if (this.user.roles.some(r => r === "PowerUser")) {
|
||||||
return "powerUser";
|
return "powerUser";
|
||||||
}
|
}
|
||||||
return "user";
|
return "user";
|
||||||
|
|
|
@ -9,7 +9,7 @@ export class SettingsMenuComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
public ngOnInit() {
|
public ngOnInit() {
|
||||||
var element = document.getElementById("settings");
|
const element = document.getElementById("settings");
|
||||||
if (element != null) {
|
if (element != null) {
|
||||||
element.classList.add("active");
|
element.classList.add("active");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue