We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd67ab6 commit f4d6ce5Copy full SHA for f4d6ce5
src/utils/common.js
@@ -1,11 +1,11 @@
1
2
3
export const formatOS = (os) => {
4
- if (os.lowerCase.startsWith("windows 10")) {
+ if (os.toLowerCase().startsWith("windows 10")) {
5
return "Windows 10";
6
}
7
8
- if (os.lowerCase.startsWith("windows server 10")) {
+ if (os.toLowerCase().startsWith("windows server 10")) {
9
return "Windows Server";
10
11
0 commit comments