Files: change file's icon come from Google front icon.
This commit is contained in:
@@ -67,6 +67,7 @@ export default defineStore('filesStore', {
|
||||
|
||||
this.allEventLog = response.data;
|
||||
this.allEventLog.map(o => {
|
||||
o.icon = 'work_history';
|
||||
o.parentLog = "-";
|
||||
o.fileType = "Log";
|
||||
o.ownerName = o.owner.name;
|
||||
@@ -99,6 +100,7 @@ export default defineStore('filesStore', {
|
||||
|
||||
this.allFilter = response.data;
|
||||
this.allFilter.map(o => {
|
||||
o.icon = 'tornado';
|
||||
o.fileType = "Filter";
|
||||
o.ownerName = o.owner.name;
|
||||
o.updated_at = moment(o.updated_at).utcOffset('+08:00').format('YYYY-MM-DD HH:MM');
|
||||
@@ -118,5 +120,7 @@ export default defineStore('filesStore', {
|
||||
})
|
||||
};
|
||||
},
|
||||
// fetchRule(){o.icon = local_police}
|
||||
// fetchDesign(){o.icon = shape_line}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user