diff --git a/invokeai/frontend/web/src/features/stylePresets/components/StylePresetExportButton.tsx b/invokeai/frontend/web/src/features/stylePresets/components/StylePresetExportButton.tsx index 3b1c6caa39f..dc02b63c4f5 100644 --- a/invokeai/frontend/web/src/features/stylePresets/components/StylePresetExportButton.tsx +++ b/invokeai/frontend/web/src/features/stylePresets/components/StylePresetExportButton.tsx @@ -16,9 +16,9 @@ export const StylePresetExportButton = () => { const { t } = useTranslation(); const { presetCount } = useListStylePresetsQuery(undefined, { selectFromResult: ({ data }) => { - const userPresets = data?.filter((preset) => preset.type === 'user') ?? EMPTY_ARRAY; + const presetsToExport = data?.filter((preset) => preset.type !== 'default') ?? EMPTY_ARRAY; return { - presetCount: userPresets.length, + presetCount: presetsToExport.length, }; }, });