Fixes#4719
Fixes bug where the value of my notes is an empty string, and thus doesn't pass the check for an empty array.
This adds empty strings to the if condition. Tested with the mobile app and this fixes my issue
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/dani-garcia/vaultwarden/pull/4730
**Author:** [@cobyge](https://github.com/cobyge)
**Created:** 7/10/2024
**Status:** ✅ Merged
**Merged:** 7/10/2024
**Merged by:** [@BlackDex](https://github.com/BlackDex)
**Base:** `main` ← **Head:** `bugfix/empty_notes`
---
### 📝 Commits (1)
- [`d859973`](https://github.com/dani-garcia/vaultwarden/commit/d8599736553a59bec3e9ce3404d2cb6703ec0b26) Fix bug where secureNotes is empty
### 📊 Changes
**1 file changed** (+4 additions, -2 deletions)
<details>
<summary>View changed files</summary>
📝 `src/db/models/cipher.rs` (+4 -2)
</details>
### 📄 Description
Fixes #4719
Fixes bug where the value of my notes is an empty string, and thus doesn't pass the check for an empty array.
This adds empty strings to the if condition. Tested with the mobile app and this fixes my issue
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/4730
Author: @cobyge
Created: 7/10/2024
Status: ✅ Merged
Merged: 7/10/2024
Merged by: @BlackDex
Base:
main← Head:bugfix/empty_notes📝 Commits (1)
d859973Fix bug where secureNotes is empty📊 Changes
1 file changed (+4 additions, -2 deletions)
View changed files
📝
src/db/models/cipher.rs(+4 -2)📄 Description
Fixes #4719
Fixes bug where the value of my notes is an empty string, and thus doesn't pass the check for an empty array.
This adds empty strings to the if condition. Tested with the mobile app and this fixes my issue
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.