diff --git a/static/components/direct-messages/direct-messages.js b/static/components/direct-messages/direct-messages.js
index a28362e..dd33480 100644
--- a/static/components/direct-messages/direct-messages.js
+++ b/static/components/direct-messages/direct-messages.js
@@ -2,7 +2,7 @@ async function directMessages(path) {
const template = await loadTemplateAsync(path)
Vue.component('direct-messages', {
name: 'direct-messages',
- props: ['active-public-key', 'adminkey', 'inkey'],
+ props: ['adminkey', 'inkey'],
template,
watch: {
@@ -13,6 +13,7 @@ async function directMessages(path) {
data: function () {
return {
customers: [],
+ activePublicKey: null,
messages: [],
newMessage: ''
}
@@ -31,10 +32,7 @@ async function directMessages(path) {
this.inkey
)
this.messages = data
- console.log(
- '### this.messages',
- this.messages.map(m => m.message)
- )
+
this.focusOnChatBox(this.messages.length - 1)
} catch (error) {
LNbits.utils.notifyApiError(error)
@@ -48,7 +46,6 @@ async function directMessages(path) {
this.inkey
)
this.customers = data
- console.log('### customers', this.customers)
} catch (error) {
LNbits.utils.notifyApiError(error)
}
diff --git a/templates/nostrmarket/index.html b/templates/nostrmarket/index.html
index 94aa403..c2c8c23 100644
--- a/templates/nostrmarket/index.html
+++ b/templates/nostrmarket/index.html
@@ -59,6 +59,15 @@
>
+
+
+
+
+
@@ -133,10 +142,10 @@
+