Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F8222023
ListWidget.vue
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
ListWidget.vue
View Options
<template>
<list-table :list="list" :setup="setup"></list-table>
</template>
<script>
import { ListTable } from '../Widgets/ListTools'
import { library } from '@fortawesome/fontawesome-svg-core'
library.add(
require('@fortawesome/free-solid-svg-icons/faFolderOpen').definition,
)
export default {
components: {
ListTable
},
props: {
withEmail: { type: Boolean, default: () => false },
list: { type: Array, default: () => [] }
},
computed: {
setup() {
let columns = [
{
prop: 'name',
icon: 'folder-open',
link: true
},
{
prop: 'type',
contentLabel: item => 'shf.type-' + item.type
}
]
if (this.withEmail) {
columns.push({ prop: 'email', link: true })
}
return {
columns,
model: 'shared-folder',
prefix: 'shf'
}
}
}
}
</script>
File Metadata
Details
Attached
Mime Type
text/html
Expires
Thu, Jul 9, 7:40 PM (13 m, 50 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1056448
Default Alt Text
ListWidget.vue (1 KB)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment