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