fix(web): hide icon when no active_app exist

This commit is contained in:
arkohut 2024-10-16 16:53:52 +08:00
parent 7fb802cc27
commit 2934e928f2

View File

@ -364,7 +364,7 @@
src={`${apiEndpoint}/files/${hit.document.filepath}`} src={`${apiEndpoint}/files/${hit.document.filepath}`}
alt="" alt=""
/> />
{#if getAppName(hit.document)} {#if getAppName(hit.document) !== "unknown"}
<div <div
class="absolute bottom-2 left-6 bg-white bg-opacity-75 px-2 py-1 rounded-full text-xs font-semibold border border-gray-200 flex items-center space-x-2" class="absolute bottom-2 left-6 bg-white bg-opacity-75 px-2 py-1 rounded-full text-xs font-semibold border border-gray-200 flex items-center space-x-2"
> >