displayed attachments, added attachments filter to material admin view

This commit is contained in:
2021-01-25 16:15:03 +01:00
parent 5d4c1d5449
commit 8945034b21
12 changed files with 390 additions and 57 deletions

View File

@ -0,0 +1,24 @@
// plugins/prettyBytes.js
export default {
install: (app, options) => {
app.config.globalProperties.$prettyBytes = (value) => {
return value + 'Mb'
}
app.provide('prettyBytes', options)
// app.directive('my-directive', {
// mounted (el, binding, vnode, oldVnode) {
// // some logic ...
// }
// ...
// })
// app.mixin({
// created() {
// // some logic ...
// }
// ...
// })
}
}