chore: Add workspace slug to should render setting link method (#6886)

* add workspace slug to setting link function

* add params in the function
This commit is contained in:
Saurabh Kumar 2025-04-14 17:41:47 +05:30 committed by GitHub
parent c6953ff878
commit 24899887b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View file

@ -1,2 +1,2 @@
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export const shouldRenderSettingLink = (settingKey: string) => true;
export type TRenderSettingsLink = (workspaceSlug: string, settingKey: string) => boolean;
export const shouldRenderSettingLink: TRenderSettingsLink = (workspaceSlug, settingKey) => true;