egirlskey/src/client/filters/note.ts

6 lines
90 B
TypeScript
Raw Normal View History

2018-04-09 09:52:29 +00:00
import Vue from 'vue';
Vue.filter('notePage', note => {
2018-09-01 14:12:51 +00:00
return `/notes/${note.id}`;
2018-04-09 09:52:29 +00:00
});