mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
sysutils/smart: fix ACL lint complaints
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
<smart>
|
||||
<filename>Smart.js</filename>
|
||||
<endpoints>
|
||||
<endpoint>/api/smart/service/list</endpoint>
|
||||
<endpoint>/api/smart/service/info</endpoint>
|
||||
<endpoint>/api/smart/service/*</endpoint>
|
||||
</endpoints>
|
||||
<translations>
|
||||
<title>SMART Status</title>
|
||||
|
||||
@@ -41,7 +41,7 @@ export default class Smart extends BaseTableWidget {
|
||||
}
|
||||
|
||||
async onWidgetTick() {
|
||||
let disks = await ajaxCall(`/api/smart/service/list/detailed`, {}, null);
|
||||
let disks = await this.ajaxCall(`/api/smart/service/${'list/detailed'}`, {}, null);
|
||||
if (disks && disks.devices) {
|
||||
const rows = [];
|
||||
for (const device of disks.devices) {
|
||||
|
||||
Reference in New Issue
Block a user