[BUGFIX beta] Fix wrong view keyword in a component block

Close #3520

Signed-off-by: Kris Selden <kris.selden@gmail.com>