* Small init changes (static state) * Hide vanity on empty accounts * Require accounts for apps, cleanup needsApi/needsCalls * Display InputAddress when disable (but no options) * Filter toolbox based on accounts * Accounts gated via app, don't display add * Cleanup linting * Validation display & clear on settings types * Split save for developer & general * Add Reset button to dev settings
22 lines
476 B
TypeScript
22 lines
476 B
TypeScript
// Copyright 2017-2019 @polkadot/apps authors & contributors
|
|
// This software may be modified and distributed under the terms
|
|
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
|
|
import { Routes } from '../types';
|
|
|
|
import Nodeinfo from '@polkadot/app-nodeinfo/index';
|
|
|
|
export default ([
|
|
{
|
|
Component: Nodeinfo,
|
|
display: {
|
|
needsApi: []
|
|
},
|
|
i18n: {
|
|
defaultValue: 'Node info'
|
|
},
|
|
icon: 'tty',
|
|
name: 'nodeinfo'
|
|
}
|
|
] as Routes);
|