mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Modified application edit url pattern.
This commit is contained in:
parent
34b35158fb
commit
672833c583
@ -78,7 +78,7 @@ class Base extends Component {
|
||||
<Route exact path={"/assets/platforms"} component={PlatformListing}/>
|
||||
<Route exact path={"/assets/platforms/create"} component={PlatformCreate}/>
|
||||
{/*<Route exact path={"/assets/apps/:app"}/>*/}
|
||||
<Route exact path={"/assets/apps/edit/:app"} component={ApplicationEdit}/>
|
||||
<Route exact path={"/assets/apps/:app/edit"} component={ApplicationEdit}/>
|
||||
<Route exact path={"/assets/platforms/:platform"}/>
|
||||
<Route exact path={"/assets/platforms/:platform/edit"}/>
|
||||
<Route exact path={"/assets/reviews"}/>
|
||||
|
||||
@ -194,7 +194,7 @@ class ApplicationListing extends Component {
|
||||
}
|
||||
|
||||
onAppEditClick(uuid) {
|
||||
this.props.history.push("apps/edit/" + uuid);
|
||||
this.props.history.push("apps/" + uuid + "/edit");
|
||||
}
|
||||
|
||||
closeDrawer() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user