mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Fix wrong permission key for dashboard in analytics overview (#213295)
## Summary This PR fixes a bug introduced in #213198 - wrong capability name was being used. Related to the fix from https://github.com/elastic/kibana/issues/212171
This commit is contained in:
parent
e9f852ecc3
commit
e73fd1fd83
1 changed files with 1 additions and 2 deletions
|
@ -167,8 +167,7 @@ export const Overview: FC<Props> = ({ newsFetchResult, solutions, features }) =>
|
|||
const remainingApps = kibanaApps.map(({ id }) => id).filter((id) => !mainApps.includes(id));
|
||||
const mainAppsUserHasAccessTo = useMemo(() => {
|
||||
const applications = [];
|
||||
|
||||
if (application.capabilities.dashboards_v2?.show) {
|
||||
if (application.capabilities.dashboard_v2?.show) {
|
||||
applications.push('dashboards');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue