Reportistica Ore 2
This commit is contained in:
@@ -180,6 +180,11 @@ namespace Getters {
|
||||
return ris
|
||||
}, 't')
|
||||
|
||||
const getRespByUsername = b.read((state) => (username) => {
|
||||
const rec = state.resps.find((rec) => rec.username === username)
|
||||
return !!rec ? rec.name + ' ' + rec.surname : ''
|
||||
}, 'getRespByUsername')
|
||||
|
||||
const getListByTable = b.read((state) => (table) => {
|
||||
if (table === tools.TABEVENTS)
|
||||
return CalendarStore.state.eventlist
|
||||
@@ -308,6 +313,10 @@ namespace Getters {
|
||||
return getListByTable()
|
||||
},
|
||||
|
||||
get getRespByUsername() {
|
||||
return getRespByUsername()
|
||||
},
|
||||
|
||||
get getCmdClick() {
|
||||
return getCmdClick()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user