Skip to content

Commit

Permalink
Merge pull request #4204 from Nagarei/fix/sw-inlinereply-icon
Browse files Browse the repository at this point in the history
  • Loading branch information
nokhnaton authored Nov 11, 2024
2 parents dac04f1 + 927f961 commit 7296377
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/sw/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export const setupNotification = async () => {
// eslint-disable-next-line no-console
console.warn('[sw] no store or me.detail found')
data.body = `自分: ${event.reply}`
data.icon = ``
}

data.silent = true
Expand Down
2 changes: 1 addition & 1 deletion src/sw/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { storeName, key } from '/@/composables/utils/useIndexedDbValue'

export const getMeStore = async () => {
try {
const openReq = indexedDB.open(`${dbPrefix}domain/me`)
const openReq = indexedDB.open(`${dbPrefix}store/domain/me`)
const db = await promisifyRequest(openReq)
const getReq: IDBRequest<IDBState> = db
.transaction(storeName)
Expand Down

0 comments on commit 7296377

Please sign in to comment.