|
|
@ -91,12 +91,12 @@ |
|
|
|
<div class="text-sm overflow-hidden"> |
|
|
|
<div |
|
|
|
data-testId="description" |
|
|
|
class="overflow-hidden text-ellipsis" |
|
|
|
class="flex items-start gap-2 overflow-hidden" |
|
|
|
> |
|
|
|
<font-awesome icon="message" class="fa-fw text-slate-400" /> |
|
|
|
<font-awesome icon="message" class="fa-fw text-slate-400 flex-shrink-0 mt-1" /> |
|
|
|
<vue-markdown |
|
|
|
:source="claimDescription" |
|
|
|
class="markdown-content" |
|
|
|
class="markdown-content flex-1 min-w-0" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div class="overflow-hidden text-ellipsis"> |
|
|
@ -551,7 +551,7 @@ import VueMarkdown from "vue-markdown-render"; |
|
|
|
import { Router, RouteLocationNormalizedLoaded } from "vue-router"; |
|
|
|
import { copyToClipboard } from "../services/ClipboardService"; |
|
|
|
|
|
|
|
import { GenericVerifiableCredential } from "../interfaces"; |
|
|
|
import { EmojiClaim, GenericVerifiableCredential } from "../interfaces"; |
|
|
|
import GiftedDialog from "../components/GiftedDialog.vue"; |
|
|
|
import QuickNav from "../components/QuickNav.vue"; |
|
|
|
import { NotificationIface } from "../constants/app"; |
|
|
@ -667,6 +667,10 @@ export default class ClaimView extends Vue { |
|
|
|
return giveClaim.description || ""; |
|
|
|
} |
|
|
|
|
|
|
|
if (this.veriClaim.claimType === "Emoji") { |
|
|
|
return (claim as EmojiClaim).text || ""; |
|
|
|
} |
|
|
|
|
|
|
|
// Fallback for other claim types |
|
|
|
return (claim as { description?: string })?.description || ""; |
|
|
|
} |
|
|
|