Fix linter error
This commit is contained in:
parent
ff8d1db005
commit
3de2a2bf3d
|
@ -144,19 +144,15 @@ export default function MySubscriptions(): JSX.Element {
|
|||
if ( subscription.local.version === subscription.version ) {
|
||||
return subscription.local.version;
|
||||
}
|
||||
|
||||
if ( subscription.local.version && subscription.version ) {
|
||||
return subscription.local.version + ' > ' + subscription.version;
|
||||
}
|
||||
|
||||
if ( subscription.version ) {
|
||||
return subscription.version;
|
||||
}
|
||||
|
||||
if ( subscription.local.version ) {
|
||||
return subscription.local.version;
|
||||
}
|
||||
|
||||
return '';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue