mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-15 07:54:18 +02:00
Increase size of create playlist modal
This commit is contained in:
@@ -25,7 +25,7 @@ export const PlaylistListHeader = ({ itemCount, tableRef }: PlaylistListHeaderPr
|
|||||||
onClose: () => {
|
onClose: () => {
|
||||||
tableRef?.current?.api?.purgeInfiniteCache();
|
tableRef?.current?.api?.purgeInfiniteCache();
|
||||||
},
|
},
|
||||||
size: server?.type === ServerType?.NAVIDROME ? 'lg' : 'sm',
|
size: server?.type === ServerType?.NAVIDROME ? 'xl' : 'sm',
|
||||||
title: 'Create Playlist',
|
title: 'Create Playlist',
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ export const HomeCommands = ({
|
|||||||
|
|
||||||
openModal({
|
openModal({
|
||||||
children: <CreatePlaylistForm onCancel={() => closeAllModals()} />,
|
children: <CreatePlaylistForm onCancel={() => closeAllModals()} />,
|
||||||
size: server?.type === ServerType?.NAVIDROME ? 'lg' : 'sm',
|
size: server?.type === ServerType?.NAVIDROME ? 'xl' : 'sm',
|
||||||
title: 'Create Playlist',
|
title: 'Create Playlist',
|
||||||
});
|
});
|
||||||
}, [handleClose, server?.type]);
|
}, [handleClose, server?.type]);
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ export const Sidebar = () => {
|
|||||||
|
|
||||||
openModal({
|
openModal({
|
||||||
children: <CreatePlaylistForm onCancel={() => closeAllModals()} />,
|
children: <CreatePlaylistForm onCancel={() => closeAllModals()} />,
|
||||||
size: server?.type === ServerType?.NAVIDROME ? 'lg' : 'sm',
|
size: server?.type === ServerType?.NAVIDROME ? 'xl' : 'sm',
|
||||||
title: 'Create Playlist',
|
title: 'Create Playlist',
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user