Adding current tags prop

parent 45e4066d
......@@ -15,7 +15,8 @@
export default {
props: {
namespace: {String}
namespace: {String},
currentTags: {default : null},
},
data() {
return {
......@@ -29,6 +30,9 @@
}
},
mounted() {
console.log(this.currentTags);
if (this.currentTags !== null) {
}
axios.get(route('api.tag.tag.by-namespace', {namespace: this.namespace}))
.then(response => {
this.availableTags = response.data;
......
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