Project

General

Profile

« Previous | Next » 

Revision 56695

[Library|newlinking]

Merge trunk to Branch rev 56554:56686

View differences:

isRouteEnabled.guard.ts
39 39
        }
40 40
       return  res;
41 41
      }),mergeMap(prop => {
42
        if (!community) { // no community to check - return true
43
          return observableOf(true);
42
        if (!community) {
43
          community = prop.adminToolsCommunity;
44 44
        }
45 45
        return this.config.isPageEnabled(prop, community, '/' + path.split('?')[0].substring(1));
46 46
      }),);

Also available in: Unified diff