How to add value to this.pages for sidemenu

I have a set a existing sidemenu list, but I want to add some new sidemenu generic after certain authentication process. I tried using push or concate but it failed to append the list.

Anybody can advise how can I add new value to this.pages for sidemenu?

My code

this.pages = [
{ title: ‘My Page 1’, component: FirstPage}

{ title: ‘My Page 2’, component: SecondPage }

The sidemenu only able to show My Page 1, 2nd side menu name is empty.

I found the bug. [] should not add to push.

{ title: ‘My Page 2’, component: SecondPage }