Skip to content

Commit

Permalink
dashboard: memory widget: missing endpoint declaration and title change
Browse files Browse the repository at this point in the history
  • Loading branch information
swhite2 committed Apr 19, 2024
1 parent a2e14b2 commit be5ad0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ private function getTranslations()
'trafficout' => gettext('Traffic Out'),
],
'memory' => [
'title' => gettext('Memory'),
'title' => gettext('Memory usage'),
'used' => gettext('Used'),
'free' => gettext('Free'),
'arc' => gettext('ARC'),
Expand Down
4 changes: 3 additions & 1 deletion src/opnsense/www/js/widgets/Memory.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// endpoint:/api/core/system/systemResources

/**
* Copyright (C) 2024 Deciso B.V.
*
Expand Down Expand Up @@ -128,4 +130,4 @@ export default class Memory extends BaseWidget {
}
});
}
}
}

0 comments on commit be5ad0f

Please sign in to comment.