Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
...
  • Loading branch information
ctf0 committed Sep 21, 2017
1 parent fe1779d commit 0c792dc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
10 changes: 10 additions & 0 deletions src/resources/assets/js/media.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
$.ajaxSetup({
cache: false,
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
})

/* Libs */
window.Vue = require('vue')
window.EventHub = require('vuemit')
window.keycode = require('keycode')
window.dropzone = require('dropzone')
Vue.use(require('vue-tippy'))
Vue.use(require('vue2-filters'))

/* Components */
Vue.component('MediaManager', require('./components/' + process.env.MIX_MM_FRAMEWORK + '/media.vue'))
Vue.component('MyNotification', require('./components/' + process.env.MIX_MM_FRAMEWORK + '/notifs.vue'))

/* Events */
require('./events')
5 changes: 2 additions & 3 deletions src/resources/views/bulma/media.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,8 @@ class="button"
</span>
</div>
<div class="details">
<h4>@{{ file.name }}</h4>
{{-- <h4 v-if="fileTypeIs(file, 'folder')">@{{ file.name }}</h4> --}}
{{-- <h4 v-else>@{{ getFileName(file.name) }}</h4> --}}
<h4 v-if="fileTypeIs(file, 'folder')">@{{ file.name }}</h4>
<h4 v-else>@{{ getFileName(file.name) }}</h4>
<small>
<template v-if="fileTypeIs(file, 'folder')">
<span>@{{ file.items }} item(s)</span>
Expand Down

0 comments on commit 0c792dc

Please sign in to comment.