Merge branch 'master' into feat-newChannelCreate
This commit is contained in:
commit
64d67026cc
4 changed files with 7 additions and 7 deletions
|
@ -1010,6 +1010,7 @@
|
|||
"Payment Type": "Payment Type",
|
||||
"Purchase": "Purchase",
|
||||
"No transactions.": "No transactions.",
|
||||
"Status": "Status",
|
||||
"Active": "Active",
|
||||
"Historical": "Historical",
|
||||
"Reposts": "Reposts",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// @flow
|
||||
import { MAIN_WRAPPER_CLASS } from 'component/app/view';
|
||||
import { MAIN_CLASS } from 'component/page/view';
|
||||
import type { Node } from 'react';
|
||||
import React, { useEffect } from 'react';
|
||||
import classnames from 'classnames';
|
||||
|
@ -71,10 +71,10 @@ export default function ClaimList(props: Props) {
|
|||
useEffect(() => {
|
||||
const handleScroll = debounce(e => {
|
||||
if (page && pageSize && onScrollBottom) {
|
||||
const mainElWrapper = document.querySelector(`.${MAIN_WRAPPER_CLASS}`);
|
||||
const mainEl = document.querySelector(`.${MAIN_CLASS}`);
|
||||
|
||||
if (mainElWrapper && !loading && urisLength >= pageSize) {
|
||||
const contentWrapperAtBottomOfPage = mainElWrapper.getBoundingClientRect().bottom - 0.5 <= window.innerHeight;
|
||||
if (mainEl && !loading && urisLength >= pageSize) {
|
||||
const contentWrapperAtBottomOfPage = mainEl.getBoundingClientRect().bottom - 0.5 <= window.innerHeight;
|
||||
|
||||
if (contentWrapperAtBottomOfPage) {
|
||||
onScrollBottom();
|
||||
|
|
|
@ -230,7 +230,7 @@ function TxoList(props: Props) {
|
|||
{!hideStatus && (
|
||||
<div>
|
||||
<fieldset-section>
|
||||
<label>Status</label>
|
||||
<label>{__('Status')}</label>
|
||||
<div className={'txo__radios'}>
|
||||
<Button
|
||||
button="alt"
|
||||
|
|
|
@ -513,7 +513,6 @@ class SettingsPage extends React.PureComponent<Props, State> {
|
|||
button="secondary"
|
||||
label={__('Manage')}
|
||||
icon={ICONS.SETTINGS}
|
||||
disabled={userBlockedChannelsCount === 0}
|
||||
navigate={`/$/${PAGES.BLOCKED}`}
|
||||
/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue