mirror of https://github.com/velour/catbase.git
meme: fix empty meme issue
This commit is contained in:
parent
841d4c000e
commit
bca96b6dcd
|
@ -147,6 +147,9 @@ var memeIndex = `
|
||||||
},
|
},
|
||||||
filters: {
|
filters: {
|
||||||
pretty: function(value) {
|
pretty: function(value) {
|
||||||
|
if (!value) {
|
||||||
|
return ""
|
||||||
|
}
|
||||||
return JSON.stringify(JSON.parse(value), null, 2);
|
return JSON.stringify(JSON.parse(value), null, 2);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue