allow a custom error message to stay on the screen indefinitely
This commit is contained in:
@@ -223,7 +223,7 @@ export default class QuickActionBvcBeginView extends Vue {
|
|||||||
);
|
);
|
||||||
this.notify.error(
|
this.notify.error(
|
||||||
timeResult?.error || NOTIFY_BVC_TIME_ERROR.message,
|
timeResult?.error || NOTIFY_BVC_TIME_ERROR.message,
|
||||||
TIMEOUTS.LONG,
|
timeResult?.error ? TIMEOUTS.MODAL : TIMEOUTS.LONG,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -251,7 +251,7 @@ export default class QuickActionBvcBeginView extends Vue {
|
|||||||
);
|
);
|
||||||
this.notify.error(
|
this.notify.error(
|
||||||
attendResult?.error || NOTIFY_BVC_ATTENDANCE_ERROR.message,
|
attendResult?.error || NOTIFY_BVC_ATTENDANCE_ERROR.message,
|
||||||
TIMEOUTS.LONG,
|
attendResult?.error ? TIMEOUTS.MODAL : TIMEOUTS.LONG,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -276,7 +276,7 @@ export default class QuickActionBvcBeginView extends Vue {
|
|||||||
logger.error("[QuickActionBvcBeginView] Error sending claims:", error);
|
logger.error("[QuickActionBvcBeginView] Error sending claims:", error);
|
||||||
this.notify.error(
|
this.notify.error(
|
||||||
error.userMessage || NOTIFY_BVC_SUBMISSION_ERROR.message,
|
error.userMessage || NOTIFY_BVC_SUBMISSION_ERROR.message,
|
||||||
TIMEOUTS.LONG,
|
error.userMessage ? TIMEOUTS.MODAL : TIMEOUTS.LONG,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user