mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-06-02 22:46:58 +00:00
format file
This commit is contained in:
parent
8bc0161a70
commit
fb9da8d1d4
@ -601,7 +601,7 @@ class WebBrowser extends LitElement {
|
||||
let chatBytesArray = null;
|
||||
|
||||
await new Promise((res) => {
|
||||
worker.postMessage({chatBytes, path, difficulty});
|
||||
worker.postMessage({ chatBytes, path, difficulty });
|
||||
worker.onmessage = e => {
|
||||
chatBytesArray = e.data.chatBytesArray;
|
||||
nonce = e.data.nonce;
|
||||
@ -1001,14 +1001,14 @@ class WebBrowser extends LitElement {
|
||||
}
|
||||
}
|
||||
|
||||
const getName = async (recipient)=> {
|
||||
const getName = async (recipient) => {
|
||||
try {
|
||||
const getNames = await parentEpml.request("apiCall", {
|
||||
type: "api",
|
||||
url: `/names/address/${recipient}`,
|
||||
});
|
||||
|
||||
if (getNames.length > 0 ) {
|
||||
if (getNames.length > 0) {
|
||||
return getNames[0].name;
|
||||
} else {
|
||||
return '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user