79469646

Date: 2025-02-26 12:09:15
Score: 1
Natty:
Report link

In non-Vue files, you can simply do the following:

import { useToast } from 'primevue/usetoast';
    const toast = useToast();
    
    toast.add({
      severity: 'error',
      summary: this.t('errorCodes.E99.titleError'),
      detail: this.t('errorCodes.E99.bodyError'),
    });
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Zod1ac