mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-22 06:29:27 +00:00
Disable Confirm Button if preconditions not met
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user