forked from firka/student-legacy
Merge branch 'dev' of github.com:refilc/naplo into dev
This commit is contained in:
commit
05c10df239
@ -396,7 +396,7 @@ class AbsencesPageState extends State<AbsencesPage>
|
|||||||
child: filterWidgets[index - (activeData <= 1 ? 1 : 0)],
|
child: filterWidgets[index - (activeData <= 1 ? 1 : 0)],
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return _tabController.index == 1 ? Empty(subtitle: "emptyDelays".i18n) : Empty(subtitle: "emptyMisses".i18n);
|
return activeData == 1 ? Empty(subtitle: "emptyDelays".i18n) : Empty(subtitle: "emptyMisses".i18n);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
@ -423,7 +423,7 @@ class AbsencesPageState extends State<AbsencesPage>
|
|||||||
child: filterWidgets[index - (activeData <= 1 ? 1 : 0)],
|
child: filterWidgets[index - (activeData <= 1 ? 1 : 0)],
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return _tabController.index == 1
|
return activeData == 1
|
||||||
? Empty(subtitle: "emptyDelays".i18n)
|
? Empty(subtitle: "emptyDelays".i18n)
|
||||||
: Empty(subtitle: "emptyMisses".i18n);
|
: Empty(subtitle: "emptyMisses".i18n);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user