Skip to content

Fix showing link in table and sidebar [SCI-13419] - #9647

Open
matej-scinote wants to merge 1 commit into
scinote-eln:features/inventory-table-revampfrom
matej-scinote:mf_SCI_13419
Open

Fix showing link in table and sidebar [SCI-13419]#9647
matej-scinote wants to merge 1 commit into
scinote-eln:features/inventory-table-revampfrom
matej-scinote:mf_SCI_13419

Conversation

@matej-scinote

@matej-scinote matej-scinote commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Jira ticket: SCI-13419

What was done

Fix showing link in table and sidebar

@matej-scinote
matej-scinote marked this pull request as ready for review August 18, 2026 08:10
},
methods: {
showTextCellModal() {
if (event.target.closest('a')) return; // do not open modal if value is a link

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if it is really reliable way to check that

<span v-if="textValue && textValue.length > 0" class="cursor-pointer line-clamp-1 leading-[unset]"
@click.stop="showTextCellModal">
{{ textValue}}
@click.stop="showTextCellModal" v-html="textValue">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really want to always use v-html?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants