2019-09-30 21:07:59 +05:30
|
|
|
import getRef from '../queries/getRef.query.graphql';
|
2019-09-04 21:01:54 +05:30
|
|
|
|
|
|
|
export default {
|
|
|
|
apollo: {
|
|
|
|
ref: {
|
|
|
|
query: getRef,
|
2020-05-05 14:28:15 +05:30
|
|
|
manual: true,
|
|
|
|
result({ data, loading }) {
|
|
|
|
if (!loading) {
|
|
|
|
this.ref = data.ref;
|
|
|
|
this.escapedRef = data.escapedRef;
|
|
|
|
}
|
|
|
|
},
|
2019-09-04 21:01:54 +05:30
|
|
|
},
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
ref: '',
|
2020-05-05 14:28:15 +05:30
|
|
|
escapedRef: '',
|
2019-09-04 21:01:54 +05:30
|
|
|
};
|
|
|
|
},
|
|
|
|
};
|