This commit is contained in:
Dane Everitt 2019-02-03 15:16:03 -08:00
parent 3e61bfdeaa
commit 0407e97aa1
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -94,8 +94,7 @@ export default Vue.component('server-console', {
*/
sendCommand: function () {
this.commandHistoryIndex = -1;
// this.commandHistory.unshift(this.command);
this.commandHistory.unshift();
this.commandHistory.unshift(this.command);
this.$socket().instance().emit('send command', this.command);
this.command = '';
},