Skip to content
Snippets Groups Projects
Unverified Commit 58ea89ce authored by Mahatthana (Kelvin) Nomsawadi's avatar Mahatthana (Kelvin) Nomsawadi Committed by GitHub
Browse files

Fix achiving models doesn't remove them from the collection view (#24178)

parent 33adb2af
No related branches found
No related tags found
No related merge requests found
......@@ -96,6 +96,10 @@ export default createEntity({
}
return updateIn(state, [schemaId, "tables"], tables => {
if (!tables) {
return tables;
}
if (question.archived) {
return tables.filter(id => id !== virtualQuestionId);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment