Open feed avatar image, remove dead avatar provider

This commit is contained in:
Natsumi
2026-01-08 03:50:19 +13:00
parent a6b3244717
commit d7952791c3
2 changed files with 22 additions and 11 deletions

View File

@@ -17,7 +17,7 @@ import {
} from 'lucide-vue-next';
import { formatDateFilter, statusClass, timeToText } from '../../shared/utils';
import { i18n } from '../../plugin';
import { useUserStore } from '../../stores';
import { useUserStore, useGalleryStore } from '../../stores';
const { t } = i18n.global;
@@ -81,6 +81,7 @@ const expandedRow = ({ row }) => {
}
if (type === 'Avatar') {
const { showFullscreenImageDialog } = useGalleryStore();
return (
<div class="pl-5 text-sm">
<div class="flex items-center">
@@ -91,8 +92,13 @@ const expandedRow = ({ row }) => {
src={
original.previousCurrentAvatarThumbnailImageUrl
}
class="x-link h-30 w-40 rounded"
class="x-link h-30 w-40 rounded pointer"
loading="lazy"
onClick={() =>
showFullscreenImageDialog(
original.previousCurrentAvatarImageUrl
)
}
/>
<br />
<AvatarInfo
@@ -119,8 +125,13 @@ const expandedRow = ({ row }) => {
src={
original.currentAvatarThumbnailImageUrl
}
class="x-link h-30 w-40 rounded"
class="x-link h-30 w-40 rounded pointer"
loading="lazy"
onClick={() =>
showFullscreenImageDialog(
original.currentAvatarImageUrl
)
}
/>
<br />
<AvatarInfo