Skip to content

Commit

Permalink
MAke name and protected optional in route interface
Browse files Browse the repository at this point in the history
  • Loading branch information
brionmario committed Jan 12, 2021
1 parent 817e73c commit 2621a64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/core/src/models/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export interface StaticRouteInterface {
/**
* Name to be displayed on the side panel.
*/
name: string;
name?: string;
/**
* Side panel order.
*/
Expand All @@ -75,7 +75,7 @@ export interface StaticRouteInterface {
/**
* If the route is protected or not.
*/
protected: boolean;
protected?: boolean;
/**
* Redirect path.
*/
Expand Down

0 comments on commit 2621a64

Please sign in to comment.