mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 06:06:41 +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>
|
||||
{!relationship && relationshipUIState === 'loading' && (
|
||||
<Loader abrupt />
|
||||
)}
|
||||
{!!relationship && (
|
||||
<button
|
||||
type="button"
|
||||
|
|
Loading…
Reference in a new issue