mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-23 05:35:07 +02:00
⚡ Small refactor to glances mixin
This commit is contained in:
parent
2c9ae46207
commit
cf98a96a15
@ -1,5 +1,5 @@
|
|||||||
/** Reusable mixin for all Glances widgets */
|
/** Reusable mixin for all Glances widgets */
|
||||||
const WidgetMixin = {
|
export default {
|
||||||
computed: {
|
computed: {
|
||||||
/* Required, hostname (e.g. IP + port) for Glances instance */
|
/* Required, hostname (e.g. IP + port) for Glances instance */
|
||||||
hostname() {
|
hostname() {
|
||||||
@ -32,5 +32,3 @@ const WidgetMixin = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export default WidgetMixin;
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user