Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix duplicate message after dismissing suggestions
If we create one category_meta_message for each category, removing when not relevant, then duplicat suggestion showing leads to duplicate messages because the layer is still relevant, just not visible, and so the old layer message is not removed. Instead, repurpose the ID of any existing category_meta_message, so there is only ever one in existence.
- Loading branch information
Showing
2 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters