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