diff --git a/static/app-strings.json b/static/app-strings.json index 95174d6d7..956f48735 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -910,5 +910,7 @@ "Did something go wrong? Have a look in your log file, or send it to %support_link%.": "Did something go wrong? Have a look in your log file, or send it to %support_link%.", "%amount% LBC": "%amount% LBC", "%amount% fee": "%amount% fee", - "1 file hidden due to your %content_viewing_preferences_link%": "1 file hidden due to your %content_viewing_preferences_link%" + "1 file hidden due to your %content_viewing_preferences_link%": "1 file hidden due to your %content_viewing_preferences_link%", + "Thumbnail": "Thumbnail", + "spee.ch": "spee.ch" } \ No newline at end of file diff --git a/ui/component/header/view.jsx b/ui/component/header/view.jsx index b81022ad6..d8f26c3e9 100644 --- a/ui/component/header/view.jsx +++ b/ui/component/header/view.jsx @@ -147,7 +147,7 @@ const Header = (props: Props) => { history.push(`/$/${PAGES.PUBLISH}`)}> - {__('New Publish')} + {__('Publish')} diff --git a/ui/page/fileListPublished/index.js b/ui/page/fileListPublished/index.js index 14867e5f4..747e1f380 100644 --- a/ui/page/fileListPublished/index.js +++ b/ui/page/fileListPublished/index.js @@ -3,6 +3,7 @@ import { selectIsFetchingClaimListMine, makeSelectMyStreamUrlsForPage, selectMyStreamUrlsCount, + doClearPublish, doFetchClaimListMine, } from 'lbry-redux'; import { doCheckPendingPublishesApp } from 'redux/actions/publish'; @@ -24,11 +25,7 @@ const select = (state, props) => { const perform = dispatch => ({ checkPendingPublishes: () => dispatch(doCheckPendingPublishesApp()), fetchClaimListMine: () => dispatch(doFetchClaimListMine()), + clearPublish: () => dispatch(doClearPublish()), }); -export default withRouter( - connect( - select, - perform - )(FileListPublished) -); +export default withRouter(connect(select, perform)(FileListPublished)); diff --git a/ui/page/fileListPublished/view.jsx b/ui/page/fileListPublished/view.jsx index 0073d2d2d..51631abfb 100644 --- a/ui/page/fileListPublished/view.jsx +++ b/ui/page/fileListPublished/view.jsx @@ -10,6 +10,7 @@ import Spinner from 'component/spinner'; type Props = { checkPendingPublishes: () => void, + clearPublish: () => void, fetchClaimListMine: () => void, fetching: boolean, urls: Array, @@ -19,7 +20,7 @@ type Props = { }; function FileListPublished(props: Props) { - const { checkPendingPublishes, fetchClaimListMine, fetching, urls, urlTotal } = props; + const { checkPendingPublishes, clearPublish, fetchClaimListMine, fetching, urls, urlTotal } = props; useEffect(() => { checkPendingPublishes(); fetchClaimListMine(); @@ -35,7 +36,9 @@ function FileListPublished(props: Props) { loading={fetching} persistedStorageKey="claim-list-published" uris={urls} - headerAltControls={