mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-16 12:12:15 +01:00
add invite button for placeholder users on members table
This commit is contained in:
@@ -62,11 +62,7 @@ export const useNotificationsStore = defineStore('notifications', () => {
|
||||
'An request error occurred. Please try again later.'
|
||||
);
|
||||
} else if (error?.response?.status === 422) {
|
||||
const message = error.response.data.errors
|
||||
.map((error: { message: string }) => {
|
||||
return error.message;
|
||||
})
|
||||
.join('\n');
|
||||
const message = error.response.data.message;
|
||||
addNotification('error', message);
|
||||
} else {
|
||||
addNotification(
|
||||
|
||||
Reference in New Issue
Block a user