diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-07-02 17:49:17 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-07-06 12:22:33 +0100 |
commit | d8245e7e9d54c538b674e44d5d5d8cfd796d5676 (patch) | |
tree | e6cf7ced63361580a9a2879ff878d13a5678facb /script/bootstrap | |
parent | 7bff609a74c934c2d0a1a2ef05f9b72973c73c33 (diff) |
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.
Diffstat (limited to 'script/bootstrap')
0 files changed, 0 insertions, 0 deletions