ctf0 / Laravel-Media-Manager

A "Vuejs & Laravel" Media Manager With Tons of Features
MIT License
829 stars 179 forks source link

[Question] Show Folder by Default #146

Closed jasperf closed 4 years ago

jasperf commented 4 years ago

Currently when we add a folder it is not shown. Not until we click the display folders option. When we do only folders are shown. Is there also an option to show images and folders? Also can we turn this on by default?

<div class="control">
  <button @click="showFilesOfType('folder')"
      v-tippy
      title="{{ trans('MediaManager::messages.filter_by', ['attr' => trans('MediaManager::messages.folder')]) }}"
      class="button"
      :class="{'is-link': filterNameIs('folder')}"
      :disabled="!btnFilter('folder') || isLoading">
      <span class="icon"><icon name="folder"></icon></span>
  </button>
</div>
ctf0 commented 4 years ago

am not sure what is the issue :confused:

jasperf commented 4 years ago

Well I see I cannot have and images and folders clicked / turned on by default. Seems I can only load folders or images. .. But perhaps that is only my setup. I will have a look at things.