investovator / investovator-ui

UI features of investovator
GNU General Public License v3.0
0 stars 0 forks source link

All game dashboards should check current game instance (Session.getCurrentGameInstance()) and if null, redirect to USER_VIEW. #64

Closed amilasurendra closed 11 years ago

amilasurendra commented 11 years ago

@ishanthilina @hasalasurasinghe

ishanthilina commented 11 years ago

Shouldn't this be set in the BasicDashboard.enter method? Because the following code segment is already there.

if(!authenticator.isLoggedIn()){
            getUI().getNavigator().navigateTo("");
            return;
        }
ishanthilina commented 11 years ago

Sorry, my mistake,cannot be done in that way. Each dashboard needs to individiually do this

ishanthilina commented 11 years ago

@hasalasurasinghe : done?

hasalasurasinghe commented 11 years ago

yep

Regards,

Hasala Surasinghe Department of Computer Science and Engineering University of Moratuwa Sri Lanka

On Fri, Nov 29, 2013 at 11:08 AM, Ishan Thilina Somasiri < notifications@github.com> wrote:

@hasalasurasinghe https://github.com/hasalasurasinghe : done?

— Reply to this email directly or view it on GitHubhttps://github.com/investovator/investovator-ui/issues/64#issuecomment-29497687 .