Proper construction
parent
8b01d96f79
commit
2f78e9e3be
|
@ -21,7 +21,7 @@ function PeerList() {
|
|||
self.newConfigText = ko.observable('')
|
||||
self.isAdding = ko.observable(false)
|
||||
self.addText = ko.computed(() => self.isAdding()?'Adding...':'Add')
|
||||
self.users = ko.observableArray({})
|
||||
self.users = ko.observableArray([])
|
||||
|
||||
// Initial loading
|
||||
self.getUsers = async () => {
|
||||
|
|
Loading…
Reference in New Issue