Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add check updates columns to APIs table and other fixes #6058

Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugins/main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "4.8.0",
"revision": "01",
"pluginPlatform": {
"version": "4.7.0"
"version": "2.10.0"
},
"description": "Wazuh dashboard",
"keywords": [
Expand Down Expand Up @@ -85,4 +85,4 @@
"redux-mock-store": "^1.5.4",
"swagger-client": "^3.19.11"
}
}
}
4 changes: 3 additions & 1 deletion plugins/main/public/components/settings/about/appInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ export const SettingsAboutAppInfo = ({ appInfo }: SettingsAboutAppInfoProps) =>
const { ApisUpdateStatus } = getWazuhCheckUpdatesPlugin();

const showVersionWarning = !!apisAvailableUpdates?.find(
(apiAvailableUpdates) => apiAvailableUpdates.version !== appInfo['app-version']
(apiAvailableUpdates) =>
apiAvailableUpdates.current_version &&
apiAvailableUpdates.current_version.replace('v', '') !== appInfo['app-version']
);

return (
Expand Down
Loading
Loading