Commit 4597c630 authored by Doug Stull's avatar Doug Stull Committed by Paul Slaughter

Fix Type error about namespace through provides on members page

- broken, errors in console

Changelog: fixed
parent b83f7a6b
......@@ -11,7 +11,10 @@ export default {
components: { MembersTable, FilterSortContainer, GlAlert },
provide() {
return {
namespace: this.namespace,
// We can't use this.namespace due to bug in vue-apollo when
// provide is called in beforeCreate
// See https://github.com/vuejs/vue-apollo/pull/1153 for details
namespace: this.$options.propsData.namespace,
};
},
props: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment