mirror of
https://github.com/ajnart/homarr.git
synced 2026-09-01 02:58:25 +02:00
3
src/tools/config/wrapper-finder.ts
Normal file
3
src/tools/config/wrapper-finder.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import { ConfigType } from '~/types/config';
|
||||
|
||||
export const getLowestWrapper = (config: ConfigType) => config?.wrappers.sort((a, b) => a.position - b.position)[0];
|
||||
Reference in New Issue
Block a user