2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 19:39:07 +00:00

Provide dynamicLinkTarget from FrappeControl

This commit is contained in:
Faris Ansari 2018-10-05 11:02:40 +05:30
parent 71a23679f0
commit 15fca37c39

View File

@ -70,8 +70,15 @@ export default {
return Boolean(disabled);
}
},
provide() {
return {
dynamicLinkTarget: reference => {
return this.doc[reference];
}
};
},
};
</script>
<style scoped>
.form-group {