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 DEBOUNCE_REFRESH_MS = 1000;
|
||||||
|
|
||||||
|
const FEATURE_IS_READY = false;
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
activeChannelClaim: ChannelClaim,
|
activeChannelClaim: ChannelClaim,
|
||||||
settingsByChannelId: { [string]: PerChannelSettings },
|
settingsByChannelId: { [string]: PerChannelSettings },
|
||||||
|
@ -138,6 +140,7 @@ export default function SettingsCreatorPage(props: Props) {
|
||||||
)}
|
)}
|
||||||
{!isBusy && (
|
{!isBusy && (
|
||||||
<>
|
<>
|
||||||
|
{FEATURE_IS_READY && (
|
||||||
<Card
|
<Card
|
||||||
title={__('General')}
|
title={__('General')}
|
||||||
actions={
|
actions={
|
||||||
|
@ -162,6 +165,7 @@ export default function SettingsCreatorPage(props: Props) {
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
)}
|
||||||
<Card
|
<Card
|
||||||
title={__('Filter')}
|
title={__('Filter')}
|
||||||
actions={
|
actions={
|
||||||
|
@ -181,6 +185,7 @@ export default function SettingsCreatorPage(props: Props) {
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
{FEATURE_IS_READY && (
|
||||||
<Card
|
<Card
|
||||||
title={__('Tip')}
|
title={__('Tip')}
|
||||||
actions={
|
actions={
|
||||||
|
@ -220,6 +225,7 @@ export default function SettingsCreatorPage(props: Props) {
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</Page>
|
</Page>
|
||||||
|
|
Loading…
Add table
Reference in a new issue