+
+ {
+ const newValue = parseInt(e.target.value) || 10;
+ if (newValue < 1 || newValue > 20) {
+ notify.error("Max sessions must be between 1 and 20");
+ return;
+ }
+ setMaxSessions(newValue);
+ updateSessionSettings({ maxSessions: newValue });
+ notify.success(
+ `Maximum concurrent sessions set to ${newValue}`
+ );
+ }}
+ className="w-20 px-2 py-1.5 border rounded-md bg-white dark:bg-slate-800 border-slate-300 dark:border-slate-600 text-slate-900 dark:text-white disabled:opacity-50 disabled:cursor-not-allowed text-sm"
+ />
+ sessions
+
+
+
+