From ef29686f69f475c7b13d3b106aedf207f17f934d Mon Sep 17 00:00:00 2001 From: NGUYEN DINH Quoc-Huy <quochuy@gmail.com> Date: Sun, 24 Jan 2021 15:46:57 +1100 Subject: [PATCH] Closes #112 - move foundation-sites back to devDepencies in package.json - replace @all with @null for reset list operations --- package.json | 2 +- src/app/components/pages/ListManagement.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8e0f89733..cfe8576cf 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,6 @@ "cpu-stat": "2.0.1", "diff-match-patch": "1.0.4", "disk-stat": "1.0.4", - "foundation-sites": "git+https://gitlab.syncad.com/hive/foundation-sites.git#544fb8a26efcf45e9ba9ccaa77b04d0ae35b9722", "hivesigner": "3.2.1", "humanize-number": "0.0.2", "intl": "1.2.5", @@ -190,6 +189,7 @@ "eslint-plugin-jsx-a11y": "6.2.3", "eslint-plugin-react": "7.19.0", "file-loader": "6.2.0", + "foundation-sites": "git+https://gitlab.syncad.com/hive/foundation-sites.git#544fb8a26efcf45e9ba9ccaa77b04d0ae35b9722", "git-rev-sync": "1.9.1", "husky": "0.14.3", "imports-loader": "1.2.0", diff --git a/src/app/components/pages/ListManagement.jsx b/src/app/components/pages/ListManagement.jsx index e2a3adc19..f005464fc 100644 --- a/src/app/components/pages/ListManagement.jsx +++ b/src/app/components/pages/ListManagement.jsx @@ -483,7 +483,7 @@ class ListManagement extends React.Component { if (reset_all) what = 'reset_all_lists'; let follower = this.props.username; - let following = 'all'; //there is an 'all' account, but it appears unused so i'm stealing their identity for this + let following = 'null'; //there is an 'all' account, but it appears unused so i'm stealing their identity for this this.setState({ is_busy: true }); this.props.updateList(follower, following, what, () => { setTimeout(() => { -- GitLab