hide phone init loader if user is on free plan

This commit is contained in:
m5r 2021-10-21 00:41:44 +02:00
parent e00f0bde64
commit c0554f321c

View File

@ -21,7 +21,7 @@ export default function PhoneCallsList() {
}, [phoneCalls, query]);
if (!phoneCalls) {
return <PhoneInitLoader />;
return hasOngoingSubscription ? <PhoneInitLoader /> : null;
}
if (phoneCalls.length === 0) {