mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
test: improve overall test coverage
This commit is contained in:
@@ -130,7 +130,7 @@ class Settings {
|
||||
}
|
||||
|
||||
isPinned(id) {
|
||||
return this._settings.pins.findIndex((v) => v.data.id === id) > -1;
|
||||
return !!this._settings.pins.find((v) => v.data.id === id);
|
||||
}
|
||||
|
||||
get pins() {
|
||||
|
||||
Reference in New Issue
Block a user