Disable Confirm Button if preconditions not met

This commit is contained in:
cgfhtw
2024-07-26 09:51:35 +02:00
parent d286c3784d
commit 916cecca73
@@ -236,6 +236,8 @@ export default{
button.addEventListener('click', () =>
this.actionConfirmStatus(cell.getData().status_kurzbz, cell.getData().studiensemester_kurzbz, cell.getData().ausbildungssemester)
);
if (cell.getData().bestaetigtam || !cell.getData().bewerbung_abgeschicktamum)
button.disabled = true;
container.append(button);
button = document.createElement('button');