fix: snacks showing forever

This commit is contained in:
Johannes Millan 2025-10-07 11:49:32 +02:00
parent 8662a9753d
commit 239dec5b19

View file

@ -67,8 +67,7 @@ export class SnackService {
const cfg = {
...DEFAULT_SNACK_CFG,
// duration: type === 'ERROR' ? 8000 : DEFAULT_SNACK_CFG.duration,
duration: 2222222222222,
duration: type === 'ERROR' ? 8000 : DEFAULT_SNACK_CFG.duration,
...config,
data: {
...params,