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:
@@ -779,7 +779,9 @@ export default class ContactQRScanShow extends Vue {
|
||||
|
||||
// Add new contact
|
||||
// @ts-expect-error because we're just using the value to store to the DB
|
||||
contact.contactMethods = JSON.stringify(parseJsonField(contact.contactMethods, []));
|
||||
contact.contactMethods = JSON.stringify(
|
||||
parseJsonField(contact.contactMethods, []),
|
||||
);
|
||||
const { sql, params } = databaseUtil.generateInsertStatement(
|
||||
contact as unknown as Record<string, unknown>,
|
||||
"contacts",
|
||||
|
||||
Reference in New Issue
Block a user