MCPcopy Create free account
hub / github.com/gotify/server / onUploadImage

Function onUploadImage

ui/src/application/Applications.tsx:85–91  ·  view source on GitHub ↗
(e: ChangeEvent<HTMLInputElement>)

Source from the content-addressed store, hash-verified

83 };
84
85 const onUploadImage = (e: ChangeEvent<HTMLInputElement>) => {
86 const file = e.target.files?.[0];
87 if (!file) {
88 return;
89 }
90 appStore.uploadImage(uploadId.current, file);
91 };
92
93 const handleDragEnd = (event: DragEndEvent) => {
94 const {active, over} = event;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…