mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-18 14:31:40 +03:00
Update GlancesMixin.js
This commit is contained in:
parent
baf9b5a66e
commit
cfc7c29147
@ -3,7 +3,7 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
/* Required, hostname (e.g. IP + port) for Glances instance */
|
/* Required, hostname (e.g. IP + port) for Glances instance */
|
||||||
hostname() {
|
hostname() {
|
||||||
if (!this.options.hostname) this.error('You must specify a \'hostname\' for Glaces');
|
if (!this.options.hostname) this.error('You must specify a \'hostname\' for Glances');
|
||||||
return this.options.hostname;
|
return this.options.hostname;
|
||||||
},
|
},
|
||||||
/* Optionally specify the API version, defaults to V 3 */
|
/* Optionally specify the API version, defaults to V 3 */
|
||||||
|
Loading…
Reference in New Issue
Block a user