aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ImageBox.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
-rw-r--r--src/client/views/nodes/ImageBox.tsx8
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)
-