Removing obsolete translate mixin

parent f7ec0f1c
export default {
data() {
return {
translations: {},
};
},
methods: {
translate(namespace, name) {
return _.get(this.translations[namespace], name);
}
},
mounted() {
this.translations = window.AsgardCMS.translations;
}
}
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