AddonStore is_installed needs to check installed (#3701)

This commit is contained in:
Mike Degatano 2022-06-27 11:46:42 -04:00 committed by GitHub
parent 44e4e727cc
commit bb3b8891bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ class AddonStore(AddonModel):
@property
def is_installed(self) -> bool:
"""Return True if an add-on is installed."""
return False
return self.sys_addons.get(self.slug, local_only=True) is not None
@property
def is_detached(self) -> bool: