mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-03-31 07:58:39 +00:00
fix popup saying undefined
This commit is contained in:
parent
dc813fcdf9
commit
e166e79b01
2 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Miru",
|
||||
"version": "0.12.4",
|
||||
"version": "0.12.5",
|
||||
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
|
||||
"main": "src/index.js",
|
||||
"homepage": "https://github.com/ThaUnknown/miru#readme",
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
addToast({
|
||||
text: 'Failed fetching RSS!<br>' + error,
|
||||
title: 'Search Failed',
|
||||
alertType: 'danger'
|
||||
type: 'danger'
|
||||
})
|
||||
console.error(error)
|
||||
})
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
const nodes = (await getRSSContent(url)).querySelectorAll('item')
|
||||
if (!nodes.length) {
|
||||
addToast({
|
||||
content: `Couldn't find torrent for ${media.title.userPreferred} Episode ${parseInt(episode)}! Try specifying a torrent manually.`,
|
||||
text: `Couldn't find torrent for ${media.title.userPreferred} Episode ${parseInt(episode)}! Try specifying a torrent manually.`,
|
||||
title: 'Search Failed',
|
||||
type: 'danger'
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue