summaryrefslogtreecommitdiff
path: root/hi-ui/src/store
diff options
context:
space:
mode:
Diffstat (limited to 'hi-ui/src/store')
-rw-r--r--hi-ui/src/store/channels.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/hi-ui/src/store/channels.js b/hi-ui/src/store/channels.js
index 20702cc..bb6c86c 100644
--- a/hi-ui/src/store/channels.js
+++ b/hi-ui/src/store/channels.js
@@ -9,8 +9,8 @@ export class Channels {
return this;
}
- addChannel(channel) {
- this.channels = [...this.channels, channel];
+ addChannel(id, name) {
+ this.channels = [...this.channels, { id, name }];
this.sort();
return this;
}