Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
changed style of visibility cell in templates view
Mish Ushakov21becc625dd1
diff --git a/apps/web/src/components/Dashboard/Templates.tsx b/apps/web/src/components/Dashboard/Templates.tsxindex 920d82cc4..680c7cf32 100644--- a/apps/web/src/components/Dashboard/Templates.tsx+++ b/apps/web/src/components/Dashboard/Templates.tsx@@ -191,28 +191,16 @@ export function TemplatesContent({key={template.templateID}><TableCell>- <TooltipProvider>- <Tooltip>- <TooltipTrigger asChild>- <Button- variant="ghost"- size="icon"- onClick={(e) => {- e.stopPropagation()- setCurrentTemplate(template)- setIsPublishTemplateDialogOpen(true)- }}- >- {template.public ? (- <LockOpen className="w-4 h-4" />- ) : (- <Lock className="w-4 h-4" />- )}- </Button>- </TooltipTrigger>- <TooltipContent>Change visibility</TooltipContent>- </Tooltip>- </TooltipProvider>+ <div className="flex items-center gap-2">+ {template.public ? (+ <LockOpen className="w-4 h-4" />+ ) : (+ <Lock className="w-4 h-4" />+ )}+ <span className="text-xs">+ {template.public ? 'Visible' : 'Private'}+ </span>+ </div></TableCell><TableCell>{template.templateID}</TableCell><TableCell className="font-mono">