diff options
Diffstat (limited to 'hi-ui/src/store/channels.js')
| -rw-r--r-- | hi-ui/src/store/channels.js | 4 |
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; } |
