From 8f12c03a8a8ab7e44feb278685522e26f29b1ac2 Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Sat, 23 Dec 2023 14:59:05 +0530 Subject: [PATCH] Fix newly created lists not showing up on other pages automatically. Closes #1589. --- frontend/src/views/Lists.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/views/Lists.vue b/frontend/src/views/Lists.vue index 18c9bbfea..2fa4b272c 100644 --- a/frontend/src/views/Lists.vue +++ b/frontend/src/views/Lists.vue @@ -237,6 +237,10 @@ export default Vue.extend({ }).then((resp) => { this.lists = resp; }); + + // Also fetch the minimal lists for the global store that appears + // in dropdown menus on other pages like import and campaigns. + this.$api.getLists({ minimal: true, per_page: 'all' }); }, deleteList(list) {