ember-adminlte-theme icon indicating copy to clipboard operation
ember-adminlte-theme copied to clipboard

Uncaught TypeError: Cannot read property 'replace' of undefined

Open pusle opened this issue 7 years ago • 1 comments

I installed this with Ember 2.10. When I run ember s I get an error telling me that Uncaught TypeError: Cannot read property 'replace' of undefined in main-sidebar.js:19.

18    routeUrl: computed("appRoute.router.url", function () {
19      return this.get("appRoute.router.url").replace(/\?.*/, "");
20    }),

Am I missing something?

pusle avatar Jul 22 '17 19:07 pusle

You use the latest version 0.2.8 ?

0.2.8 version I tried no problem

huxinghai avatar Aug 07 '17 02:08 huxinghai