Fix sent messages
This commit is contained in:
parent
5c7194ae07
commit
ca31a9508e
1 changed files with 3 additions and 3 deletions
|
@ -74,7 +74,7 @@ const getSentMessages = () => {
|
||||||
table.innerHTML = "<thead>\n" +
|
table.innerHTML = "<thead>\n" +
|
||||||
" <tr>\n" +
|
" <tr>\n" +
|
||||||
" <th>Temat</th>\n" +
|
" <th>Temat</th>\n" +
|
||||||
" <th>Nadawca</th>\n" +
|
" <th>Adresat</th>\n" +
|
||||||
" <th>Data</th>\n" +
|
" <th>Data</th>\n" +
|
||||||
" </tr>\n" +
|
" </tr>\n" +
|
||||||
" </thead>" +
|
" </thead>" +
|
||||||
|
@ -94,7 +94,7 @@ const getSentMessages = () => {
|
||||||
wiadomoscRow.appendChild(temat)
|
wiadomoscRow.appendChild(temat)
|
||||||
|
|
||||||
nadawca = wiadomoscRow.insertCell()
|
nadawca = wiadomoscRow.insertCell()
|
||||||
nadawca.innerHTML = `<span>${wiadomosc.Nadawca.Name}</span>`
|
nadawca.innerHTML = `<span>${wiadomosc.Adresaci[0]}</span>`
|
||||||
wiadomoscRow.appendChild(nadawca)
|
wiadomoscRow.appendChild(nadawca)
|
||||||
|
|
||||||
|
|
||||||
|
@ -159,4 +159,4 @@ const getDeletedMessages = () => {
|
||||||
|
|
||||||
received_.addEventListener('click', getReceivedMessages);
|
received_.addEventListener('click', getReceivedMessages);
|
||||||
sent_.addEventListener('click', getSentMessages);
|
sent_.addEventListener('click', getSentMessages);
|
||||||
deleted_.addEventListener('click', getDeletedMessages);
|
deleted_.addEventListener('click', getDeletedMessages);
|
||||||
|
|
Loading…
Reference in a new issue