You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
308 B
11 lines
308 B
import { createConfirmationDialog } from './helpers';
|
|
|
|
// Displays page error message/notice in a confirmation dialog
|
|
export default function handleErrorMessage() {
|
|
const errorMessage = Alpine.store('globals').ERROR_MESSAGE;
|
|
|
|
if (errorMessage) {
|
|
createConfirmationDialog({ message: errorMessage });
|
|
}
|
|
}
|