awstools: Fixed some bugs with the item view UI model
- The item view model is now being updated when the item itself is being updated - Fixed a NPE when the item view model receives a nil item
This commit is contained in:
parent
0f0bf70d01
commit
cc7ead496f
4 changed files with 8 additions and 8 deletions
|
|
@ -60,10 +60,7 @@ func (c *CommandController) Alias(commandName string) Command {
|
|||
return events.SetError(errors.New("no such command: " + commandName))
|
||||
}
|
||||
|
||||
if len(args) > 1 {
|
||||
return command(args[1:])
|
||||
}
|
||||
return command([]string{})
|
||||
return command(args)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue