Created
August 25, 2017 21:52
-
-
Save JCharante/43280925930eba26a75c683128473b4e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template slot="col-lastModified" scope="cell"> | |
<context-menu :attributes="cell.row" @refreshObjects="$store.dispatch('getLibraryFiles')"/> | |
<q-item> | |
<q-item-side icon="fa-file-image-o" v-if="cell.row.objectType === 'picture'" color="primary"/> | |
<q-item-side icon="fa-file-video-o" v-else-if="cell.row.objectType === 'video'" color="secondary" /> | |
<q-item-side icon="fa-file-o" v-else/> | |
<q-item-main :label="cell.data" label-lines="1" /> | |
</q-item> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment