Add new message for when user try to create a publication without image ou video

This commit is contained in:
Eudes Inácio
2024-02-02 12:03:27 +01:00
parent da2c3252fd
commit 01f15f97ac
@@ -100,6 +100,9 @@ export class HttpErrorHandle {
case 'filessize': case 'filessize':
this.toastService._badRequest('Excedeu o limite de 20 MB!') this.toastService._badRequest('Excedeu o limite de 20 MB!')
break; break;
case 'noFileSelected':
this.toastService._badRequest('Selecione uma imagem ou vídeo')
break;
default: default:
this.toastService._badRequest('') this.toastService._badRequest('')