Add loading indicator for slow relationships

This commit is contained in:
Lim Chee Aun 2023-04-29 21:48:18 +08:00
parent eeb5730932
commit 1dc533b62a

View file

@ -778,6 +778,9 @@ function RelatedActions({ info, instance, authenticated }) {
</> </>
)} )}
</Menu> </Menu>
{!relationship && relationshipUIState === 'loading' && (
<Loader abrupt />
)}
{!!relationship && ( {!!relationship && (
<button <button
type="button" type="button"