mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-01-18 18:46:24 +00:00
Re-run formatter to format latest UI changes.
This commit is contained in:
parent
2ea86b2ca2
commit
96482764cc
@ -23,7 +23,6 @@ import Autocomplete, { OptionCallbackFunc, OptionsCallbackFunc } from "../compon
|
||||
import TenantStore from "../stores/TenantStore";
|
||||
import SessionStore from "../stores/SessionStore";
|
||||
|
||||
|
||||
interface IState {
|
||||
tenantId: string;
|
||||
selectedKey: string;
|
||||
@ -174,12 +173,32 @@ class SideMenu extends Component<RouteComponentProps, IState> {
|
||||
label: "Tenant",
|
||||
icon: <HomeOutlined />,
|
||||
children: [
|
||||
{key: "tenant-dashboard", icon: <DashboardOutlined />, label: <Link to={`/tenants/${tenantId}`}>Dashboard</Link>},
|
||||
{
|
||||
key: "tenant-dashboard",
|
||||
icon: <DashboardOutlined />,
|
||||
label: <Link to={`/tenants/${tenantId}`}>Dashboard</Link>,
|
||||
},
|
||||
{ key: "tenant-users", icon: <UserOutlined />, label: <Link to={`/tenants/${tenantId}/users`}>Users</Link> },
|
||||
{key: "tenant-api-keys", icon: <KeyOutlined />, label: <Link to={`/tenants/${tenantId}/api-keys`}>API keys</Link>},
|
||||
{key: "tenant-device-profiles", icon: <ControlOutlined />, label: <Link to={`/tenants/${tenantId}/device-profiles`}>Device profiles</Link>},
|
||||
{key: "tenant-gateways", icon: <WifiOutlined />, label: <Link to={`/tenants/${tenantId}/gateways`}>Gateways</Link>},
|
||||
{key: "tenant-applications", icon: <AppstoreOutlined />, label: <Link to={`/tenants/${tenantId}/applications`}>Applications</Link>},
|
||||
{
|
||||
key: "tenant-api-keys",
|
||||
icon: <KeyOutlined />,
|
||||
label: <Link to={`/tenants/${tenantId}/api-keys`}>API keys</Link>,
|
||||
},
|
||||
{
|
||||
key: "tenant-device-profiles",
|
||||
icon: <ControlOutlined />,
|
||||
label: <Link to={`/tenants/${tenantId}/device-profiles`}>Device profiles</Link>,
|
||||
},
|
||||
{
|
||||
key: "tenant-gateways",
|
||||
icon: <WifiOutlined />,
|
||||
label: <Link to={`/tenants/${tenantId}/gateways`}>Gateways</Link>,
|
||||
},
|
||||
{
|
||||
key: "tenant-applications",
|
||||
icon: <AppstoreOutlined />,
|
||||
label: <Link to={`/tenants/${tenantId}/applications`}>Applications</Link>,
|
||||
},
|
||||
],
|
||||
});
|
||||
}
|
||||
|
@ -326,12 +326,15 @@ class DeviceProfileForm extends Component<IProps, IState> {
|
||||
<Select.Option value={CodecRuntime.JS}>JavaScript functions</Select.Option>
|
||||
</Select>
|
||||
</Form.Item>
|
||||
{this.state.payloadCodecRuntime === CodecRuntime.JS && <CodeEditor
|
||||
{this.state.payloadCodecRuntime === CodecRuntime.JS && (
|
||||
<CodeEditor
|
||||
label="Codec functions"
|
||||
name="payloadCodecScript"
|
||||
value={this.props.initialValues.getPayloadCodecScript()}
|
||||
formRef={this.formRef} disabled={this.props.disabled}
|
||||
/>}
|
||||
formRef={this.formRef}
|
||||
disabled={this.props.disabled}
|
||||
/>
|
||||
)}
|
||||
</Tabs.TabPane>
|
||||
<Tabs.TabPane tab="Tags" key="6">
|
||||
<Form.List name="tagsMap">
|
||||
|
@ -126,7 +126,6 @@ class Login extends Component<RouteComponentProps, LoginState> {
|
||||
|
||||
if (this.props.location.search === "") {
|
||||
InternalStore.settings((resp: SettingsResponse) => {
|
||||
console.log("SDF");
|
||||
this.setState({
|
||||
loaded: true,
|
||||
oidcEnabled: resp.getOpenidConnect()!.getEnabled(),
|
||||
|
10
ui/yarn.lock
10
ui/yarn.lock
@ -5789,11 +5789,6 @@ grpc-web@^1.2.1:
|
||||
resolved "https://registry.yarnpkg.com/grpc-web/-/grpc-web-1.2.1.tgz#860051d705bf5baa7b81fcbd14030060bf16b7b9"
|
||||
integrity sha512-ibBaJPzfMVuLPgaST9w0kZl60s+SnkPBQp6QKdpEr85tpc1gXW2QDqSne9xiyiym0logDfdUSm4aX5h9YBA2mw==
|
||||
|
||||
grpc-web@^1.3.1:
|
||||
version "1.3.1"
|
||||
resolved "https://registry.yarnpkg.com/grpc-web/-/grpc-web-1.3.1.tgz#6d8affe75a103790b7ad570824e765a1d6a418e4"
|
||||
integrity sha512-VxyYEAGsatecAFY3xieRDzsuhm92yQBsJD7fd5Z3MY150hZWPwkrUWetzJ0QK5W0uym4+VedPQrei38wk0eIjQ==
|
||||
|
||||
gzip-size@^6.0.0:
|
||||
version "6.0.0"
|
||||
resolved "https://registry.yarnpkg.com/gzip-size/-/gzip-size-6.0.0.tgz#065367fd50c239c0671cbcbad5be3e2eeb10e462"
|
||||
@ -8481,11 +8476,6 @@ prelude-ls@~1.1.2:
|
||||
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
|
||||
integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=
|
||||
|
||||
prepend-http@^1.0.0:
|
||||
version "1.0.4"
|
||||
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc"
|
||||
integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=
|
||||
|
||||
prettier@^2.6.2:
|
||||
version "2.6.2"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.6.2.tgz#e26d71a18a74c3d0f0597f55f01fb6c06c206032"
|
||||
|
Loading…
Reference in New Issue
Block a user