1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Change icon path from png to svg in typedInput

This commit is contained in:
Kazuhito Yokoi 2022-05-05 01:20:41 +09:00
parent 84a3884ffc
commit 5fb811eb4c

View File

@ -128,13 +128,13 @@
{ value: "User-Agent", label: "User-Agent", hasValue: false }, { value: "User-Agent", label: "User-Agent", hasValue: false },
{ value: "Location", label: "Location", hasValue: false }, { value: "Location", label: "Location", hasValue: false },
{ value: "other", label: RED._("node-red:httpin.label.other"), { value: "other", label: RED._("node-red:httpin.label.other"),
hasValue: true, icon: "red/images/typedInput/az.png" }, hasValue: true, icon: "red/images/typedInput/az.svg" },
{ value: "msg", label: "msg.", hasValue: true }, { value: "msg", label: "msg.", hasValue: true },
] ]
const headerOptions = {}; const headerOptions = {};
const defaultOptions = [ const defaultOptions = [
{ value: "other", label: RED._("node-red:httpin.label.other"), { value: "other", label: RED._("node-red:httpin.label.other"),
hasValue: true, icon: "red/images/typedInput/az.png" }, hasValue: true, icon: "red/images/typedInput/az.svg" },
{ value: "msg", label: "msg.", hasValue: true }, { value: "msg", label: "msg.", hasValue: true },
]; ];
headerOptions["accept"] = [ headerOptions["accept"] = [