From 1c0d04132a68715bfe044e4e1424dcf22ef91fc3 Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Fri, 28 Apr 2023 00:21:52 +0700 Subject: [PATCH] TSK-1378: Qfix for exception (#3097) Signed-off-by: Andrey Sobolev --- plugins/devmodel-resources/src/index.ts | 10 +++++----- .../notification-resources/src/components/Inbox.svelte | 5 ++++- .../src/components/issues/edit/EditIssue.svelte | 8 ++++++-- .../src/components/projects/ProjectPresenter.svelte | 2 +- 4 files changed, 16 insertions(+), 9 deletions(-) diff --git a/plugins/devmodel-resources/src/index.ts b/plugins/devmodel-resources/src/index.ts index 96ad228883..813e7e2b14 100644 --- a/plugins/devmodel-resources/src/index.ts +++ b/plugins/devmodel-resources/src/index.ts @@ -58,7 +58,7 @@ class ModelClient implements Client { client.notify = (tx) => { this.notify?.(tx) if (this.notifyEnabled) { - console.info('devmodel# notify=>', tx, this.client.getModel(), getMetadata(devmodel.metadata.DevModel)) + console.debug('devmodel# notify=>', tx, this.client.getModel(), getMetadata(devmodel.metadata.DevModel)) } } } @@ -80,7 +80,7 @@ class ModelClient implements Client { ): Promise | undefined> { const result = await this.client.findOne(_class, query, options) if (this.notifyEnabled) { - console.info( + console.debug( 'devmodel# findOne=>', _class, query, @@ -102,7 +102,7 @@ class ModelClient implements Client { ): Promise> { const result = await this.client.findAll(_class, query, options) if (this.notifyEnabled) { - console.info( + console.debug( 'devmodel# findAll=>', _class, query, @@ -120,7 +120,7 @@ class ModelClient implements Client { async tx (tx: Tx): Promise { const result = await this.client.tx(tx) if (this.notifyEnabled) { - console.info('devmodel# tx=>', tx, result, getMetadata(devmodel.metadata.DevModel)) + console.debug('devmodel# tx=>', tx, result, getMetadata(devmodel.metadata.DevModel)) } transactions.push({ tx, result }) if (transactions.length > 100) { @@ -134,7 +134,7 @@ class ModelClient implements Client { } } export async function Hook (client: Client): Promise { - console.info('devmodel# Client HOOKED by DevModel') + console.debug('devmodel# Client HOOKED by DevModel') // Client is alive here, we could hook with some model extensions special for DevModel plugin. const builder = new Builder() diff --git a/plugins/notification-resources/src/components/Inbox.svelte b/plugins/notification-resources/src/components/Inbox.svelte index c6a4c396b3..9ba121d77e 100644 --- a/plugins/notification-resources/src/components/Inbox.svelte +++ b/plugins/notification-resources/src/components/Inbox.svelte @@ -113,7 +113,7 @@ />
{#if visibileNav} -
+