Still need to request relationship for moved accounts
Instead hide specific elements if moved.
This commit is contained in:
parent
671d2c9bb1
commit
bb5d34c94c
|
@ -809,6 +809,7 @@ function AccountInfo({
|
||||||
</div>
|
</div>
|
||||||
</LinkOrDiv>
|
</LinkOrDiv>
|
||||||
)}
|
)}
|
||||||
|
{!moved && (
|
||||||
<div class="account-metadata-box">
|
<div class="account-metadata-box">
|
||||||
<div
|
<div
|
||||||
class="shazam-container no-animation"
|
class="shazam-container no-animation"
|
||||||
|
@ -841,6 +842,7 @@ function AccountInfo({
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
</main>
|
</main>
|
||||||
<footer>
|
<footer>
|
||||||
<RelatedActions
|
<RelatedActions
|
||||||
|
@ -939,7 +941,7 @@ function RelatedActions({
|
||||||
|
|
||||||
accountID.current = currentID;
|
accountID.current = currentID;
|
||||||
|
|
||||||
if (moved) return;
|
// if (moved) return;
|
||||||
|
|
||||||
setRelationshipUIState('loading');
|
setRelationshipUIState('loading');
|
||||||
|
|
||||||
|
@ -1437,7 +1439,7 @@ function RelatedActions({
|
||||||
{!relationship && relationshipUIState === 'loading' && (
|
{!relationship && relationshipUIState === 'loading' && (
|
||||||
<Loader abrupt />
|
<Loader abrupt />
|
||||||
)}
|
)}
|
||||||
{!!relationship && (
|
{!!relationship && !moved && (
|
||||||
<MenuConfirm
|
<MenuConfirm
|
||||||
confirm={following || requested}
|
confirm={following || requested}
|
||||||
confirmLabel={
|
confirmLabel={
|
||||||
|
|
Loading…
Reference in a new issue