[PM-11304] Lint

(cherry picked from commit a0e3ae0cc2)
This commit is contained in:
André Bispo 2024-11-08 09:27:42 +00:00
parent b8b9cf2950
commit 947eec9348
No known key found for this signature in database
GPG key ID: E5610EF043C76548

View file

@ -136,12 +136,10 @@ fun VaultAddEditState.ViewState.appendFolderAndOwnerData(
availableFolders = folderViewList.toAvailableFolders(
resourceManager = resourceManager,
),
selectedOwnerId = activeAccount.toSelectedOwnerId(
cipherView = currentContentState.common.originalCipher,
)
?: collectionViewList.firstOrNull {
it.id == currentContentState.common.selectedCollectionId
}
selectedOwnerId = activeAccount
.toSelectedOwnerId(cipherView = currentContentState.common.originalCipher)
?: collectionViewList
.firstOrNull { it.id == currentContentState.common.selectedCollectionId }
?.organizationId,
availableOwners = activeAccount.toAvailableOwners(
collectionViewList = collectionViewList,