mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-12 00:48:50 +01:00
Add loading indicator for slow relationships
This commit is contained in:
parent
eeb5730932
commit
1dc533b62a
1 changed files with 3 additions and 0 deletions
|
@ -778,6 +778,9 @@ function RelatedActions({ info, instance, authenticated }) {
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</Menu>
|
</Menu>
|
||||||
|
{!relationship && relationshipUIState === 'loading' && (
|
||||||
|
<Loader abrupt />
|
||||||
|
)}
|
||||||
{!!relationship && (
|
{!!relationship && (
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
|
|
Loading…
Reference in a new issue