Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wire up details panel to collection item nodes #18

Merged
merged 17 commits into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Render markup using v-html directive
  • Loading branch information
chiatt committed Feb 1, 2025
commit 53fdd1f76e73c1001d9f3765ae19b2781ac3b2d7
2 changes: 1 addition & 1 deletion afrc/src/afrc/Search/components/SearchItemDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function clearResult() {
</div>
</div>
<div class="description">
<div v-if="displaydescription && displaydescription != 'Undefined'">{{ displaydescription }}</div>
<div v-if="displaydescription && displaydescription != 'Undefined'" v-html="displaydescription"></div>
<div v-else>No description provided</div>
</div>
<div v-if="images.length" class="images">
Expand Down
4 changes: 1 addition & 3 deletions afrc/src/afrc/Search/components/SearchResultItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ function selectResult(resourceid: string) {
(North and Central America &gt; United States &gt; Missouri &gt;
Greene)
</div>
<div class="scope-note">
{{ searchResult._source.displaydescription }}
</div>
<div v-html="searchResult._source.displaydescription" class="scope-note"></div>
<div class="actions">
<Button
label="...show more"
Expand Down
Loading