File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ import BaseLayout from "../../layouts/BaseLayout.astro";
66
77const { win, mac, version, revision } = openvinoReleases ;
88const audaversion = audacityReleases .version ;
9+ // Determine if major.minor match between OpenVINO and Audacity
10+ const sameMinor = version .split (' .' ).slice (0 , 2 ).join (' .' ) === audaversion .split (' .' ).slice (0 , 2 ).join (' .' );
911
1012import DownloadButton from " ../../components/button/DownloadButton" ;
1113import Audacity_Logo from " ../../assets/img/Audacity_Logo.svg" ;
@@ -49,7 +51,7 @@ import SplitDownloadButton from "../../components/button/SplitDownloadButton";
4951 >
5052 {
5153 /* display a warning when openvino and Audacity are different versions*/
52- version === audaversion ? (
54+ sameMinor ? (
5355 " "
5456 ) : (
5557 <b >
You can’t perform that action at this time.
0 commit comments