mirror of
https://github.com/wulkanowy/wulkanowy.git
synced 2024-11-23 16:16:10 -06:00
Fix empty list on excuse submit (#1501)
This commit is contained in:
parent
8528e0beff
commit
0389642543
@ -152,6 +152,8 @@ class AttendancePresenter @Inject constructor(
|
||||
fun onExcuseDialogSubmit(reason: String) {
|
||||
view?.finishActionMode()
|
||||
|
||||
if (attendanceToExcuseList.isEmpty()) return
|
||||
|
||||
if (isVulcanExcusedFunctionEnabled) {
|
||||
excuseAbsence(
|
||||
reason = reason.takeIf { it.isNotBlank() },
|
||||
|
Loading…
Reference in New Issue
Block a user