mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 13:14:45 +02:00
Reset history to end when command is sent
This commit is contained in:
parent
3a97a89d20
commit
b9368eca45
@ -61,6 +61,7 @@
|
||||
|
||||
methods: {
|
||||
sendCommand: function () {
|
||||
this.commandHistoryIndex = -1;
|
||||
this.commandHistory.unshift(this.command);
|
||||
this.$parent.$emit('send-command', this.command);
|
||||
this.command = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user