web: allow for non-path elements in hash, store current tab page in hash

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-04-04 23:19:08 +02:00
parent 1a0a62975c
commit 2c4239d79a
5 changed files with 46 additions and 11 deletions

View File

@ -13,7 +13,7 @@ import PFContent from "@patternfly/patternfly/components/Content/content.css";
enum target {
policy, group, user
};
}
@customElement("ak-policy-binding-form")
export class PolicyBindingForm extends Form<PolicyBinding> {
@ -41,7 +41,7 @@ export class PolicyBindingForm extends Form<PolicyBinding> {
@property()
targetPk?: string;
@property()
@property({type: Number})
policyGroupUser?: target;
getSuccessMessage(): string {