Add codemirror to db creation interface
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Fabian Stamm 2020-11-11 01:52:38 +01:00
parent 25f2bd2ae4
commit fcf8845664

View File

@ -168,7 +168,7 @@ AdminRoute.get(
rootkey: { label: "Root access key", type: "text" }, rootkey: { label: "Root access key", type: "text" },
rules: { rules: {
label: "Rules", label: "Rules",
type: "textarea", type: "codemirror",
value: `{\n ".write": true, \n ".read": true \n}`, value: `{\n ".write": true, \n ".read": true \n}`,
}, },
publickey: { label: "Public Key", type: "textarea" }, publickey: { label: "Public Key", type: "textarea" },