publish page fixes
This commit is contained in:
parent
967380d943
commit
e78b5d4c12
2 changed files with 2 additions and 4 deletions
|
@ -8,7 +8,6 @@ import LicenseType from './license-type';
|
|||
import Card from 'component/common/card';
|
||||
import SUPPORTED_LANGUAGES from 'constants/supported_languages';
|
||||
|
||||
import PublishName from 'component/publishName';
|
||||
// @if TARGET='app'
|
||||
// import ErrorText from 'component/common/error-text';
|
||||
// import { LbryFirst } from 'lbry-redux';
|
||||
|
@ -116,7 +115,6 @@ function PublishAdditionalOptions(props: Props) {
|
|||
<React.Fragment>
|
||||
{!hideSection && (
|
||||
<div className={classnames({ 'card--disabled': !name })}>
|
||||
<PublishName />
|
||||
{/* @if TARGET='app' */}
|
||||
{/* {showLbryFirstCheckbox && (
|
||||
<div className="section">
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
File upload is carried out in the background by that function.
|
||||
*/
|
||||
|
||||
import { SITE_NAME, ENABLE_NO_SOURCE_CLAIMS } from 'config';
|
||||
import { SITE_NAME, ENABLE_NO_SOURCE_CLAIMS, SIMPLE_SITE } from 'config';
|
||||
import React, { useEffect } from 'react';
|
||||
import { buildURI, isURIValid, isNameValid, THUMBNAIL_STATUSES } from 'lbry-redux';
|
||||
import Button from 'component/button';
|
||||
|
@ -123,7 +123,7 @@ function PublishForm(props: Props) {
|
|||
: Object.values(PUBLISH_MODES).filter((mode) => mode !== PUBLISH_MODES.LIVESTREAM);
|
||||
|
||||
const MODE_TO_I18N_STR = {
|
||||
[PUBLISH_MODES.FILE]: 'File',
|
||||
[PUBLISH_MODES.FILE]: SIMPLE_SITE ? 'Video' : 'File',
|
||||
[PUBLISH_MODES.POST]: 'Post --[noun, markdown post tab button]--',
|
||||
[PUBLISH_MODES.LIVESTREAM]: 'Livestream --[noun, livestream tab button]--',
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue