mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Conditionally display GitStatusIndicator
This commit is contained in:
1 file changed
+6
-2
@@ -324,7 +324,9 @@ BASE_DOMAIN=nostrdeploy.com`);
|
||||
>
|
||||
<Code className="h-4 w-4 mr-1" />
|
||||
Code
|
||||
<GitStatusIndicator projectId={project.id} className="ml-1" />
|
||||
{mobileView !== 'code' && (
|
||||
<GitStatusIndicator projectId={project.id} className="ml-1" />
|
||||
)}
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -452,7 +454,9 @@ BASE_DOMAIN=nostrdeploy.com`);
|
||||
className="gap-2"
|
||||
>
|
||||
Code
|
||||
<GitStatusIndicator projectId={project.id} />
|
||||
{activeTab !== 'code' && (
|
||||
<GitStatusIndicator projectId={project.id} />
|
||||
)}
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user