feat: Added "Private vaults" as a Labs feature. Can be enabled from Preferences > General > Labs (#2562)

This commit is contained in:
Aman Harwara
2023-10-05 11:07:01 +00:00
committed by GitHub
parent a0e0567306
commit 4724b08c65
18 changed files with 45 additions and 20 deletions

View File

@@ -23,7 +23,7 @@ export const useItemVaultInfo = (item: DecryptedItemInterface): ItemVaultInfo =>
const [sharedByContact, setSharedByContact] = useState<TrustedContactInterface>()
const updateInfo = useCallback(() => {
if (!application.featuresController.isEntitledToVaults()) {
if (!application.featuresController.isVaultsEnabled()) {
return
}