diff options
author | sharkiecodes <lanyi_stroud@brown.edu> | 2025-06-06 11:07:59 -0400 |
---|---|---|
committer | sharkiecodes <lanyi_stroud@brown.edu> | 2025-06-06 11:07:59 -0400 |
commit | 08b40f21d9295f36277827ac33085f82c9ee1646 (patch) | |
tree | a3fa109edc300200981e1015bfc1ca023fb477f1 /src/client/views/nodes/ImageBox.tsx | |
parent | e7f17e49612ca514fa5b3919f2c7459dcad448f7 (diff) |
clean-up
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
-rw-r--r-- | src/client/views/nodes/ImageBox.tsx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index 2473f1c0a..79a218e45 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -46,7 +46,6 @@ import { FocusViewOptions } from './FocusViewOptions'; import './ImageBox.scss'; import { OpenWhere } from './OpenWhere'; import { gptImageLabel } from '../../apis/gpt/GPT'; -import { ImageLabelBox } from '../collections/collectionFreeForm/ImageLabelBox'; const DefaultPath = '/assets/unknown-file-icon-hi.png'; export class ImageEditorData { @@ -157,13 +156,10 @@ export class ImageBox extends ViewBoxAnnotatableComponent<FieldViewProps>() { this.Document.$tags_chat = new List<string>(); tokens.forEach(tok => { (this.Document.$tags_chat as List<string>).push(tok)}); - (this.Document.$tags_chat as List<string>).push(`ASPECT_${aspectRatio}`); - //!!! changed may 11 (this.Document.$tags_chat as List<string>).push(label); + (this.Document.$tags_chat as List<string>).push(`ASPECT_${aspectRatio}`); // 6) flip on “show tags” in the layout // (same flag that ImageLabelBox.toggleDisplayInformation uses) - //note to self: What if i used my own field (ex: Document.$auto_description or something - //Would i still have to toggle it on for it to show in the metadata? this.Document._layout_showTags = true; } catch (err) { @@ -172,8 +168,6 @@ export class ImageBox extends ViewBoxAnnotatableComponent<FieldViewProps>() { } }; - //Doc.getDescription(this.Document).then(desc => this.desc = desc) - |