Fixed incorrect active panel in BookStack connector

This commit is contained in:
Dan Brown 2023-07-06 17:24:04 +01:00
parent 019e474a4e
commit 148d9c358f
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -145,7 +145,7 @@ const Main = () => {
</>
)}
{bookstackConnectorIndexingStatuses.length > 0 ? (
{bookstackConnectorIndexingStatuses.length > 0 && (
<>
<h2 className="font-bold mb-2 mt-6 ml-auto mr-auto">
BookStack indexing status
@ -184,7 +184,9 @@ const Main = () => {
/>
</div>
</>
) : (
)}
{bookstackCredential && bookstackConnectorIndexingStatuses.length === 0 && (
<>
<div className="border-solid border-gray-600 border rounded-md p-6 mt-4">
<h2 className="font-bold mb-3">Create Connection</h2>