+ aria-expanded="true">
{{ 'Requests.ReportIssue' | translate }}
diff --git a/src/Ombi/ClientApp/app/requests/movierequests.component.ts b/src/Ombi/ClientApp/app/requests/movierequests.component.ts
index fc695c898..0fc5f6651 100644
--- a/src/Ombi/ClientApp/app/requests/movierequests.component.ts
+++ b/src/Ombi/ClientApp/app/requests/movierequests.component.ts
@@ -175,11 +175,18 @@ export class MovieRequestsComponent implements OnInit {
});
}
- public setOrder(value: string) {
+ public setOrder(value: string, el: any) {
+ el = el.toElement || el.relatedTarget || el.target || el.srcElement;
+
+ const parent = el.parentElement;
+ const previousFilter = parent.querySelector(".active");
+
if (this.order === value) {
- this.reverse = !this.reverse;
+ this.reverse = !this.reverse;
+ } else {
+ previousFilter.className = "";
+ el.className = "active";
}
-
this.order = value;
}
diff --git a/src/Ombi/ClientApp/app/requests/tvrequests.component.ts b/src/Ombi/ClientApp/app/requests/tvrequests.component.ts
index a09d49bca..ad8b4ca50 100644
--- a/src/Ombi/ClientApp/app/requests/tvrequests.component.ts
+++ b/src/Ombi/ClientApp/app/requests/tvrequests.component.ts
@@ -66,7 +66,19 @@ export class TvRequestsComponent implements OnInit {
public openClosestTab(el: any) {
const rowclass = "undefined ng-star-inserted";
- el = el.toElement || el.relatedTarget || el.target;
+ el = el.toElement || el.relatedTarget || el.target || el.srcElement;
+
+ if (el.nodeName === "BUTTON") {
+
+ const isButtonAlreadyActive = el.parentElement.querySelector(".active");
+ // if a Button already has Class: .active
+ if (isButtonAlreadyActive) {
+ isButtonAlreadyActive.classList.remove("active");
+ } else {
+ el.className += " active";
+ }
+ }
+
while (el.className !== rowclass) {
// Increment the loop to the parent node until we find the row we need
el = el.parentNode;
diff --git a/src/Ombi/ClientApp/app/usermanagement/usermanagement-edit.component.html b/src/Ombi/ClientApp/app/usermanagement/usermanagement-edit.component.html
index e0bb0a096..95a70cab0 100644
--- a/src/Ombi/ClientApp/app/usermanagement/usermanagement-edit.component.html
+++ b/src/Ombi/ClientApp/app/usermanagement/usermanagement-edit.component.html
@@ -1,68 +1,70 @@
-
User: {{user.userName}}
- Back
+
+
User: {{user.userName}}
+ Back
-
-
-
-
-
User Details
-
-
-
Roles
-
-
-
-
-
-
-
+
+
+
+
+
User Details
-
-
-
-
-
+
+
Roles
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
- Update
- Delete
- Send Reset Password Link
+
+ Update
+ Delete
+ Send Reset Password Link
+
\ No newline at end of file
diff --git a/src/Ombi/ClientApp/app/usermanagement/usermanagement.component.html b/src/Ombi/ClientApp/app/usermanagement/usermanagement.component.html
index ae33598f1..37ea2eea5 100644
--- a/src/Ombi/ClientApp/app/usermanagement/usermanagement.component.html
+++ b/src/Ombi/ClientApp/app/usermanagement/usermanagement.component.html
@@ -16,7 +16,7 @@
-