forked from jsnbuchanan/crowd-funder-for-time-pwa
style: fix line length in ContactsView ternary operator
- Break long CSS class strings into multiple concatenated lines - Ensure all lines are under 100 characters for better readability - Maintain same functionality and styling behavior - Improve code maintainability and readability Fixes: Long lines in conditional CSS class assignment
This commit is contained in:
@@ -215,7 +215,7 @@ export default class SearchAreaView extends Vue {
|
||||
if (USE_DEXIE_DB) {
|
||||
await db.open();
|
||||
await db.settings.update(MASTER_SETTINGS_KEY, {
|
||||
searchBoxes: searchBoxes as any, // Type assertion for Dexie compatibility
|
||||
searchBoxes: searchBoxes as unknown, // Type assertion for Dexie compatibility
|
||||
});
|
||||
}
|
||||
this.searchBox = newSearchBox;
|
||||
@@ -269,7 +269,7 @@ export default class SearchAreaView extends Vue {
|
||||
if (USE_DEXIE_DB) {
|
||||
await db.open();
|
||||
await db.settings.update(MASTER_SETTINGS_KEY, {
|
||||
searchBoxes: "[]" as any, // Type assertion for Dexie compatibility
|
||||
searchBoxes: "[]" as unknown as string, // Type assertion for Dexie compatibility
|
||||
filterFeedByNearby: false,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user