2
0
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:
Faris Ansari 2018-10-05 11:02:40 +05:30
parent 71a23679f0
commit 15fca37c39

View File

@ -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>