mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 02:13:00 +08:00
feat(core): unused blob management in settings (#9795)
fix AF-2144, PD-2064, PD-2065, PD-2066
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { ShadowlessElement } from '@blocksuite/affine/block-std';
|
||||
import { getAttachmentFileIcons } from '@blocksuite/affine/blocks';
|
||||
import { getAttachmentFileIcon } from '@blocksuite/affine/blocks';
|
||||
import { SignalWatcher, WithDisposable } from '@blocksuite/affine/global/utils';
|
||||
import { html } from 'lit';
|
||||
import { property } from 'lit/decorators.js';
|
||||
@@ -17,7 +17,7 @@ export class ChatPanelFileChip extends SignalWatcher(
|
||||
const { state, fileName, fileType } = this.chip;
|
||||
const isLoading = state === 'embedding' || state === 'uploading';
|
||||
const tooltip = getChipTooltip(state, fileName, this.chip.tooltip);
|
||||
const fileIcon = getAttachmentFileIcons(fileType);
|
||||
const fileIcon = getAttachmentFileIcon(fileType);
|
||||
const icon = getChipIcon(state, fileIcon);
|
||||
|
||||
return html`<chat-panel-chip
|
||||
|
||||
Reference in New Issue
Block a user