TF-939 Check EmailRules & Forwarding & Vacation based on accountCapabilities to visible in Menu
This commit is contained in:
committed by
Dat H. Pham
parent
ffca17210b
commit
3beb9ec606
@@ -213,7 +213,11 @@ class SettingsView extends GetWidget<SettingsController> {
|
||||
return const SizedBox.shrink();
|
||||
}
|
||||
case AccountMenuItem.vacation:
|
||||
return VacationView();
|
||||
if (controller.manageAccountDashboardController.checkAvailableVacationInSession()) {
|
||||
return VacationView();
|
||||
} else {
|
||||
return const SizedBox.shrink();
|
||||
}
|
||||
default:
|
||||
return const SizedBox.shrink();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user