mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Customize recommendations (#2592)
* refactored common code in recommendation row * Implement front page options in config * Allow customisation from front page * Rename recommendations to front page * Add generic UI settings * Support adding premade filters Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
export const filterData = <T>(data?: (T | null | undefined)[] | null) =>
|
||||
data ? (data.filter((item) => item) as T[]) : [];
|
||||
|
||||
interface ITypename {
|
||||
export interface ITypename {
|
||||
__typename?: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user