Increase size of create playlist modal
This commit is contained in:
parent
d289797d65
commit
adc3e421f6
3 changed files with 3 additions and 3 deletions
|
|
@ -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 a new issue