mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
Team member preview refactoring
This commit is contained in:
12
resources/js/helpers/functionHelpers.js
vendored
12
resources/js/helpers/functionHelpers.js
vendored
@@ -348,6 +348,18 @@ const FunctionHelpers = {
|
||||
})
|
||||
}
|
||||
|
||||
Vue.prototype.$mapIntoMemberResource = function (entry) {
|
||||
return {
|
||||
data: {
|
||||
attributes: {
|
||||
avatar: entry.avatar,
|
||||
name: entry.name,
|
||||
color: entry.color,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Vue.prototype.$closePopup = function () {
|
||||
events.$emit('popup:close')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user