diff --git a/components/demo.vue b/components/demo.vue index fa66aa1..1523ff8 100644 --- a/components/demo.vue +++ b/components/demo.vue @@ -136,7 +136,7 @@ export default { // nextcloud down if (i === 23) { - const cmd = '$ pegaz down nextcloud\n' + const cmd = '$ pegaz down\n' for (const y in cmd) { this.terminalContent += cmd[y] await delay(20) @@ -145,15 +145,18 @@ export default { if (i === 24) this.terminalContent += 'Stopping nextcloud ... done\n' if (i === 25) this.terminalContent += '[√] Removing nextcloud ... done\n' if (i === 26) this.nextcloudClass = downClass - if (i === 27) this.isDemonstrationEnded = true + if (i === 27) this.terminalContent += 'Stopping jellyfin ... done\n' + if (i === 28) this.terminalContent += '[√] Removing jellyfin ... done\n' + if (i === 29) this.jellyfinClass = downClass + if (i === 30) this.isDemonstrationEnded = true i += 1 // i = 5 // if (i === 30) clearInterval(this.timer) - if (i === 30) this.terminalContent = '' - if (i === 30) this.jellyfinClass = downClass - if (i === 30) i = 0 + if (i === 33) this.terminalContent = '' + if (i === 33) this.jellyfinClass = downClass + if (i === 33) i = 0 }, 700) } }