Navigation changes
This commit is contained in:
parent
523c0c93fb
commit
afd79d3a7f
|
|
@ -454,8 +454,8 @@ class _DrawerTileState extends State<DrawerTile> {
|
|||
),
|
||||
),
|
||||
onTap: () {
|
||||
store.dispatch(ClearEntityFilter());
|
||||
if (widget.entityType != null) {
|
||||
store.dispatch(ClearEntityFilter());
|
||||
viewEntitiesByType(
|
||||
context: context, entityType: widget.entityType);
|
||||
} else {
|
||||
|
|
@ -622,6 +622,10 @@ class SidebarFooterCollapsed extends StatelessWidget {
|
|||
final Store<AppState> store = StoreProvider.of<AppState>(context);
|
||||
final localization = AppLocalization.of(context);
|
||||
|
||||
if (store.state.uiState.filterEntityType != null) {
|
||||
return SizedBox();
|
||||
}
|
||||
|
||||
return Container(
|
||||
width: double.infinity,
|
||||
color: Theme.of(context).cardColor,
|
||||
|
|
|
|||
Loading…
Reference in New Issue