diff --git a/lib/redux/app/app_state.dart b/lib/redux/app/app_state.dart index cfe89d15220..169886a8f30 100644 --- a/lib/redux/app/app_state.dart +++ b/lib/redux/app/app_state.dart @@ -980,4 +980,14 @@ class SelectionState { final String selectedId; final String filterEntityId; final EntityType filterEntityType; + + @override + bool operator ==(Object other) { + if (other is SelectionState) { + return selectedId == other.selectedId && + filterEntityId == other.filterEntityId && + filterEntityType == other.filterEntityType; + } + return false; + } }