forked from trent_larson/crowd-funder-for-time-pwa
Merge branch 'master' into logger-level
This commit is contained in:
@@ -133,6 +133,7 @@ export const PlatformServiceMixin = {
|
||||
* Used for change detection and component updates
|
||||
*/
|
||||
currentActiveDid(): string | null {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
return (this as any)._currentActiveDid;
|
||||
},
|
||||
|
||||
@@ -200,7 +201,9 @@ export const PlatformServiceMixin = {
|
||||
* This method should be called when the user switches identities
|
||||
*/
|
||||
async $updateActiveDid(newDid: string | null): Promise<void> {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const oldDid = (this as any)._currentActiveDid;
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
(this as any)._currentActiveDid = newDid;
|
||||
|
||||
if (newDid !== oldDid) {
|
||||
@@ -291,6 +294,7 @@ export const PlatformServiceMixin = {
|
||||
|
||||
// Convert searchBoxes array to JSON string if present
|
||||
if (settings.searchBoxes !== undefined) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
(converted as any).searchBoxes = Array.isArray(settings.searchBoxes)
|
||||
? JSON.stringify(settings.searchBoxes)
|
||||
: String(settings.searchBoxes);
|
||||
@@ -692,6 +696,7 @@ export const PlatformServiceMixin = {
|
||||
typeof method.value === "string";
|
||||
|
||||
if (!isValid && method !== undefined) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.warn(
|
||||
"[ContactNormalization] Invalid contact method:",
|
||||
method,
|
||||
|
||||
Reference in New Issue
Block a user