mirror of
https://github.com/ajnart/homarr.git
synced 2026-05-06 07:17:32 +02:00
feat: add context specific search and actions (#1570)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { parseAppHrefWithVariables } from "./base";
|
||||
|
||||
export const parseAppHrefWithVariablesClient = <TInput extends string | null>(url: TInput): TInput => {
|
||||
if (typeof window === "undefined") return url;
|
||||
return parseAppHrefWithVariables(url, window.location.href);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user