Skip to content

Commit

Permalink
Change get wazuh version
Browse files Browse the repository at this point in the history
  • Loading branch information
Machi3mfl committed May 8, 2023
1 parent c2f1ae2 commit 5fd3e35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export class InjectedMetadataService {
},

getWazuhDocVersion: () => {
return this.state.wazuhVersion?.slice(0, 3) || 'current';
return this.state.wazuhVersion?.split('.').slice(0, 2).join('.') || 'current';
},
};
}
Expand Down

0 comments on commit 5fd3e35

Please sign in to comment.