v1.8.0 #429

Merged
LukeGus merged 198 commits from dev-1.8.0 into main 2025-11-05 16:36:16 +00:00
3 changed files with 8 additions and 0 deletions
Showing only changes of commit e998912353 - Show all commits

View File

@@ -402,6 +402,7 @@ export function AdminSettings({
setExportLoading(true);
try {
const isDev =
!isElectron() &&
process.env.NODE_ENV === "development" &&
(window.location.port === "3000" ||
window.location.port === "5173" ||
@@ -472,6 +473,7 @@ export function AdminSettings({
setImportLoading(true);
try {
const isDev =
!isElectron() &&
process.env.NODE_ENV === "development" &&
(window.location.port === "3000" ||
window.location.port === "5173" ||
@@ -564,6 +566,7 @@ export function AdminSettings({
setSessionsLoading(true);
try {
const isDev =
!isElectron() &&
process.env.NODE_ENV === "development" &&
(window.location.port === "3000" ||
window.location.port === "5173" ||
@@ -610,6 +613,7 @@ export function AdminSettings({
async () => {
try {
const isDev =
!isElectron() &&
process.env.NODE_ENV === "development" &&
(window.location.port === "3000" ||
window.location.port === "5173" ||
@@ -660,6 +664,7 @@ export function AdminSettings({
async () => {
try {
const isDev =
!isElectron() &&
process.env.NODE_ENV === "development" &&
(window.location.port === "3000" ||
window.location.port === "5173" ||

View File

@@ -418,6 +418,7 @@ export const Terminal = forwardRef<TerminalHandle, SSHTerminalProps>(
isConnectingRef.current = true;
const isDev =
!isElectron() &&
process.env.NODE_ENV === "development" &&
(window.location.port === "3000" ||
window.location.port === "5173" ||

View File

@@ -37,6 +37,7 @@ interface AuthProps extends React.ComponentProps<"div"> {
loggedIn: boolean;
authLoading: boolean;
setDbError: (error: string | null) => void;
dbError?: string | null;
onAuthSuccess: (authData: {
isAdmin: boolean;
username: string | null;
@@ -53,6 +54,7 @@ export function Auth({
loggedIn,
authLoading,
setDbError,
dbError,
onAuthSuccess,
...props
}: AuthProps) {