mirror of
https://github.com/frappe/books.git
synced 2024-11-10 15:50:56 +00:00
Provide dynamicLinkTarget from FrappeControl
This commit is contained in:
parent
71a23679f0
commit
15fca37c39
@ -70,7 +70,14 @@ export default {
|
|||||||
|
|
||||||
return Boolean(disabled);
|
return Boolean(disabled);
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
provide() {
|
||||||
|
return {
|
||||||
|
dynamicLinkTarget: reference => {
|
||||||
|
return this.doc[reference];
|
||||||
|
}
|
||||||
|
};
|
||||||
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
Loading…
Reference in New Issue
Block a user