settings no remotes fix

This commit is contained in:
FTCHD
2025-02-01 13:01:59 +02:00
parent 6be58a6bbd
commit d5f9650cb0
+1 -1
View File
@@ -611,7 +611,7 @@ function RemotesSection() {
const [creatingDrawerOpen, setCreatingDrawerOpen] = useState(false)
const [defaultsDrawerOpen, setDefaultsDrawerOpen] = useState(false)
if (remotes.length === 0) {
if (remotes.length === 0 && !creatingDrawerOpen) {
return (
<div className="flex flex-col items-center justify-center min-h-screen gap-4">
<h1 className="text-2xl font-bold">No remotes found</h1>