mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
small bugfix
This commit is contained in:
parent
9e7f206aee
commit
5a6bbdc00f
@ -23,7 +23,6 @@ export function LinkedItemsHeaderView({ item, unlinkCallback, itemNameField, ite
|
||||
|
||||
|
||||
|
||||
const hasUserPermission = useHasUserPermission();
|
||||
|
||||
return (
|
||||
<>
|
||||
@ -42,7 +41,6 @@ export function LinkedItemsHeaderView({ item, unlinkCallback, itemNameField, ite
|
||||
</div>
|
||||
</div>
|
||||
<div className='tw-col-span-1' onClick={(e) => e.stopPropagation()}>
|
||||
{ hasUserPermission("items", "update", item) &&
|
||||
<div className="tw-dropdown tw-dropdown-bottom">
|
||||
<label tabIndex={0} className="tw-bg-base-100 tw-btn tw-m-1 tw-leading-3 tw-border-none tw-min-h-0 tw-h-6">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" className="tw-h-5 tw-w-5" viewBox="0 0 20 20" fill="currentColor">
|
||||
@ -58,7 +56,7 @@ export function LinkedItemsHeaderView({ item, unlinkCallback, itemNameField, ite
|
||||
</a>
|
||||
</li>}
|
||||
</ul>
|
||||
</div>}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user