This commit is contained in:
Ben Wilson
2023-07-25 20:49:14 -04:00
parent b0f4573485
commit 86c1da13d3
+2 -2
View File
@@ -6,8 +6,8 @@ import { Pipe, PipeTransform } from '@angular/core';
export class UserAgentPipe implements PipeTransform {
transform(value: string): string {
value = value.toLowerCase();
if (value.includes('bosminer-plus-tuner')) {
const valueLowerCase = value.toLowerCase();
if (valueLowerCase.includes('bosminer-plus-tuner')) {
return 'Braiins OS';
} else {
return value;