Skip to content

Commit

Permalink
feat(pat contentbrowser): use title attribute of select button to dis…
Browse files Browse the repository at this point in the history
…play path info of selected object
  • Loading branch information
1letter authored Dec 4, 2024
1 parent 51e2310 commit d2538d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pat/contentbrowser/src/ContentBrowser.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -426,11 +426,12 @@
{#if level.selectable}
<button
class="btn btn-primary btn-xs"
title="{level.displayPath}"
disabled={!isSelectable(level)}
on:click|preventDefault={() => addItem(level)}
>
{_t("select ${level_path}", {
level_path: level.displayPath,
level_path: level.Title,
})}
</button>
{/if}
Expand Down

0 comments on commit d2538d2

Please sign in to comment.