Skip to content
Snippets Groups Projects
Commit 3ef47565 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch '811-fix-displaying-of-messages-in-vue-frontend' into 'master'

Resolve "Fix displaying of messages in Vue frontend"

Closes #811

See merge request !1199
parents c863a33b bc8c448a
No related branches found
No related tags found
1 merge request!1199Resolve "Fix displaying of messages in Vue frontend"
Pipeline #125861 canceled
......@@ -64,6 +64,7 @@ Fixed
* [Dev] Site reference on extensible models can no longer cause name clashes
because of its related name.
* Links to data check objects did not work properly.
* Some messages were not displayed in the frontend.
Removed
~~~~~~~
......
......@@ -250,7 +250,6 @@ export default {
},
messages: {
query: gqlMessages,
pollInterval: 1000,
},
},
watch: {
......@@ -277,6 +276,7 @@ export default {
} else {
this.error404 = false;
}
this.$apollo.queries.messages.refetch();
},
immediate: true,
},
......
......@@ -139,7 +139,7 @@ class Query(graphene.ObjectType):
return None
def resolve_messages(root, info, **kwargs):
return get_messages(info)
return get_messages(info.context)
def resolve_custom_menu_by_name(root, info, name, **kwargs):
return CustomMenu.get_default(name)
......
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