M templates/link_list.html => templates/link_list.html +1 -1
@@ 130,7 130,7 @@
<!-- Edit -->
<a class="icon-link tooltip-link"
- href="{{if eq .Type 0}}{{reverse "core:link_edit" .Hash}}{{else if eq .Type 1}}{{reverse "core:note_edit" .Hash}}{{end}}" data-tooltip="{{$.pd.Data.edit}}">
+ href="{{if eq .Type "LINK"}}{{reverse "core:link_edit" .Hash}}{{else if eq .Type "NOTE"}}{{reverse "core:note_edit" .Hash}}{{end}}" data-tooltip="{{$.pd.Data.edit}}">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6" style="width:20px;">
<path stroke-linecap="round" stroke-linejoin="round" d="M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10" />
</svg>