Adjust server feature naming convention

This commit is contained in:
jeffvli 2024-03-05 14:12:37 -08:00
parent a9315be259
commit a7a5b92011
6 changed files with 14 additions and 12 deletions

View file

@ -123,7 +123,7 @@ export const CreatePlaylistForm = ({ onCancel }: CreatePlaylistFormProps) => {
/>
)}
{server?.type === ServerType.NAVIDROME &&
hasFeature(server, ServerFeature.SMART_PLAYLISTS) && (
hasFeature(server, ServerFeature.PLAYLISTS_SMART) && (
<Switch
label="Is smart playlist?"
onChange={(e) => setIsSmartPlaylist(e.currentTarget.checked)}