mirror of
https://github.com/irislib/iris-messenger.git
synced 2024-10-18 22:23:23 +00:00
no notifications text
This commit is contained in:
parent
dd97b237e2
commit
ac9778db9d
@ -24,6 +24,9 @@ export default class Notifications extends View {
|
|||||||
return html`
|
return html`
|
||||||
<div class="centered-container">
|
<div class="centered-container">
|
||||||
<h3>${t('notifications')}</h3>
|
<h3>${t('notifications')}</h3>
|
||||||
|
${Object.keys(this.notifications).length === 0 ? html`'
|
||||||
|
<p>No notifications yet</p>
|
||||||
|
`:''}
|
||||||
${Object.keys(this.notifications).sort().reverse().map(k => {
|
${Object.keys(this.notifications).sort().reverse().map(k => {
|
||||||
const notification = this.notifications[k];
|
const notification = this.notifications[k];
|
||||||
return html`
|
return html`
|
||||||
|
Loading…
Reference in New Issue
Block a user