mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-24 15:24:05 +00:00
20 lines
412 B
JavaScript
20 lines
412 B
JavaScript
export default {
|
|
data() {
|
|
return {
|
|
publicGroupList: [],
|
|
}
|
|
},
|
|
computed: {
|
|
publicMonitorList() {
|
|
let result = {};
|
|
|
|
for (let group of this.publicGroupList) {
|
|
for (let monitor of group.monitorList) {
|
|
result[monitor.id] = monitor;
|
|
}
|
|
}
|
|
|
|
return result;
|
|
}
|
|
}
|
|
}
|