Skip to content

Commit 889093b

Browse files
author
Sandeep Kumawat
committed
bug-fix: Create snapshot policy button reloads the dashboard
Signed-off-by: Sandeep Kumawat <[email protected]>
1 parent 827799c commit 889093b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/pages/SnapshotPolicies/containers/SnapshotPolicies/SnapshotPolicies.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ export class SnapshotPolicies extends MDSEnabledComponent<SnapshotPoliciesProps,
543543
label: "Create policy",
544544
iconType: "plus",
545545
fill: true,
546-
href: `${PLUGIN_NAME}#${ROUTES.CREATE_SNAPSHOT_POLICY}`,
546+
run: this.onClickCreate,
547547
testId: "createButton",
548548
controlType: "button",
549549
} as TopNavControlData,

0 commit comments

Comments
 (0)