2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 15:50:56 +00:00
books/ui/components/controls/DynamicLink.vue

15 lines
273 B
Vue
Raw Normal View History

2018-06-27 14:38:27 +00:00
<script>
import frappe from 'frappejs';
import Link from './Link';
export default {
extends: Link,
inject: ['dynamicLinkTarget'],
methods: {
getTarget() {
return this.dynamicLinkTarget(this.docfield.references);
}
}
}
</script>