mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-10 01:28:16 -06:00
Addressed PR comments
This commit is contained in:
parent
1157a27467
commit
49e9c71be8
@ -21,7 +21,7 @@ function quickSearchEventHandler(event: Event): void {
|
||||
* Clear the existing search parameters in the link to export Current View.
|
||||
*/
|
||||
function clearLinkParams(): void {
|
||||
const link = document.getElementById("current_view") as HTMLLinkElement;
|
||||
const link = document.getElementById("export_current_view") as HTMLLinkElement;
|
||||
let linkUpdated = link?.href.split("&")[0];
|
||||
link.setAttribute("href", linkUpdated);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user