Failed to execute template. Cause: [Access denied when checking [script] access to [xwiki:Collaboratory.UX.HbpSkin.WebHome] for user [xwiki:XWiki.Admin]]. Click on this message for details.

LiveTableServiceWorker - HBP Wiki

IAM21 instance, do not create collab nor modify a team, your changes will be lost


Changes for page LiveTableServiceWorker

Last modified by bougault on 2022/03/22 17:19

From version 4.19
edited by bougault
on 2022/03/21 13:47
Change comment: There is no comment for this version
To version 4.20
edited by bougault
on 2022/03/21 13:49
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -14,8 +14,7 @@
14 14   let response = await fetch(event.request);
15 15   let json = await response.json();
16 16   let rows = json.rows.filter(row => row.doc_viewable === true);
17 - json.rows = rows;
18 - console.log(json);
17 + console.log(rows);
19 19   return response;
20 20   })
21 21  });