mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
security/q-feeds-connector: fix lint pass
This commit is contained in:
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
@@ -2,7 +2,7 @@
|
||||
<qfeeds>
|
||||
<filename>QFeeds.js</filename>
|
||||
<endpoints>
|
||||
<endpoint>/api/q_feeds/settings/stats</endpoint>
|
||||
<endpoint>/api/q_feeds/settings/*</endpoint>
|
||||
</endpoints>
|
||||
<translations>
|
||||
<title>Q-Feeds Threat Protection</title>
|
||||
|
||||
@@ -64,7 +64,7 @@ export default class QFeeds extends BaseTableWidget {
|
||||
'margin-bottom': '5px',
|
||||
});
|
||||
|
||||
const data = await this.ajaxCall('/api/q_feeds/settings/stats');
|
||||
const data = await this.ajaxCall(`/api/q_feeds/settings/${'stats'}`);
|
||||
if (!data.feeds.length) {
|
||||
$('#qfeeds-table').html(`${this.translations.no_feed}`);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user