13 lines
325 B
JavaScript
13 lines
325 B
JavaScript
import Routing from "/src/services/routing.service.ts";
|
|
|
|
const router = await Routing.getInstance();
|
|
export async function confirm() {
|
|
router.confirm()
|
|
}
|
|
|
|
export async function closeConfirmationModal() {
|
|
router.closeConirmationModal()
|
|
}
|
|
|
|
window.confirm = confirm;
|
|
window.closeConfirmationModal = closeConfirmationModal; |