Hide Creator Settings that are not ready
This commit is contained in:
parent
82aaf361f1
commit
112947adc6
1 changed files with 69 additions and 63 deletions
|
@ -11,6 +11,8 @@ import I18nMessage from 'component/i18nMessage';
|
|||
|
||||
const DEBOUNCE_REFRESH_MS = 1000;
|
||||
|
||||
const FEATURE_IS_READY = false;
|
||||
|
||||
type Props = {
|
||||
activeChannelClaim: ChannelClaim,
|
||||
settingsByChannelId: { [string]: PerChannelSettings },
|
||||
|
@ -138,6 +140,7 @@ export default function SettingsCreatorPage(props: Props) {
|
|||
)}
|
||||
{!isBusy && (
|
||||
<>
|
||||
{FEATURE_IS_READY && (
|
||||
<Card
|
||||
title={__('General')}
|
||||
actions={
|
||||
|
@ -162,6 +165,7 @@ export default function SettingsCreatorPage(props: Props) {
|
|||
</>
|
||||
}
|
||||
/>
|
||||
)}
|
||||
<Card
|
||||
title={__('Filter')}
|
||||
actions={
|
||||
|
@ -181,6 +185,7 @@ export default function SettingsCreatorPage(props: Props) {
|
|||
</div>
|
||||
}
|
||||
/>
|
||||
{FEATURE_IS_READY && (
|
||||
<Card
|
||||
title={__('Tip')}
|
||||
actions={
|
||||
|
@ -220,6 +225,7 @@ export default function SettingsCreatorPage(props: Props) {
|
|||
</>
|
||||
}
|
||||
/>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
</Page>
|
||||
|
|
Loading…
Reference in a new issue