forked from github/wulkanowy-mirror
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…
x
Reference in New Issue
Block a user