File tree Expand file tree Collapse file tree 1 file changed +32
-32
lines changed
Expand file tree Collapse file tree 1 file changed +32
-32
lines changed Original file line number Diff line number Diff line change 1- const m = {
2- webpage : {
3- hrn : "Webpage" ,
4- link : "https://new.rcos.io" ,
5- } ,
6- users : {
7- hrn : "Users" ,
8- link : "https://new.rcos.io/users" ,
9- } ,
10- projects : {
11- hrn : "Projects" ,
12- link : "https://new.rcos.io/projects" ,
13- } ,
14- meetings : {
15- hrn : "Meetings" ,
16- link : "https://new.rcos.io/meetings" ,
17- } ,
18- small_groups : {
19- hrn : "Small Groups" ,
20- link : "https://new.rcos.io/small_groups" ,
21- } ,
22- organizations : {
23- hrn : "Organizations" ,
24- link : "https://new.rcos.io/organizations" ,
25- } ,
26- } ;
27-
28- Object . keys ( m ) . map ( ( k ) => {
29- fetch ( m [ k ] [ " link" ] ) . then ( ( response ) => {
30- document . querySelector ( `.${ k } .status` ) . innerText = response . status ;
31- } ) ;
32- } ) ;
1+ const m = {
2+ webpage : {
3+ hrn : "Webpage" ,
4+ link : "https://new.rcos.io" ,
5+ } ,
6+ users : {
7+ hrn : "Users" ,
8+ link : "https://new.rcos.io/users" ,
9+ } ,
10+ projects : {
11+ hrn : "Projects" ,
12+ link : "https://new.rcos.io/projects" ,
13+ } ,
14+ meetings : {
15+ hrn : "Meetings" ,
16+ link : "https://new.rcos.io/meetings" ,
17+ } ,
18+ small_groups : {
19+ hrn : "Small Groups" ,
20+ link : "https://new.rcos.io/small_groups" ,
21+ } ,
22+ organizations : {
23+ hrn : "Organizations" ,
24+ link : "https://new.rcos.io/organizations" ,
25+ } ,
26+ } ;
27+
28+ Object . keys ( m ) . map ( k => {
29+ fetch ( m [ k ] . link ) . then ( ( response ) => {
30+ document . querySelector ( `.${ k } .status` ) . innerText = response . status ;
31+ } ) ;
32+ } )
You can’t perform that action at this time.
0 commit comments