forked from platypush/platypush
[Extensions UI] Fix hljs.highlight
call to match new API.
This commit is contained in:
parent
7e58044804
commit
2575d6cbc5
1 changed files with 5 additions and 5 deletions
|
@ -86,15 +86,15 @@ export default {
|
|||
|
||||
highlightedInstallCmd() {
|
||||
return (
|
||||
this.installCmd ?
|
||||
hljs.highlight(
|
||||
this.installCmd ?
|
||||
this.extension.deps.install_cmd
|
||||
.map((cmd) => `$ ${cmd}`)
|
||||
.join('\n')
|
||||
.trim()
|
||||
).value :
|
||||
'# No extra installation steps required',
|
||||
{language: 'bash'}
|
||||
.trim() :
|
||||
'# No extra installation steps required',
|
||||
{language: 'bash'}
|
||||
).value
|
||||
)
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue