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

Function handleImageUploadClick

ui/src/application/Applications.tsx:78–83  ·  view source on GitHub ↗
(id: number)

Source from the content-addressed store, hash-verified

76 const validExtensions = ['.gif', '.png', '.jpg', '.jpeg'];
77
78 const handleImageUploadClick = (id: number) => {
79 uploadId.current = id;
80 if (fileInputRef.current) {
81 fileInputRef.current.click();
82 }
83 };
84
85 const onUploadImage = (e: ChangeEvent<HTMLInputElement>) => {
86 const file = e.target.files?.[0];

Callers 1

Applications.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…