Update to UIX for alpha version

This commit is contained in:
Jesse Malotaux 2025-04-11 18:57:25 +02:00
parent 2098aface9
commit 3cc0a2017d
20 changed files with 88 additions and 65 deletions

View file

@ -2,7 +2,9 @@ import { useDeviceStore } from '@/stores/device'
import CryptoJS from 'crypto-js'
export const appUrl = () => {
return window.location.port !== 6970 ? `http://${window.location.hostname}:6970` : ''
return window.location.port !== import.meta.env.VITE_MCRM__PORT
? `http://${window.location.hostname}:${import.meta.env.VITE_MCRM__PORT}`
: ''
}
export const isLocal = () => {

View file

@ -18,7 +18,5 @@ export const RunMacro = async (macro) => {
}
export const CheckMacroListChange = (oldList, newList) => {
console.log(oldList, JSON.stringify(newList))
return oldList !== JSON.stringify(newList)
}