From c8663c88af76dcdc046d304576f36d4ab7088634 Mon Sep 17 00:00:00 2001 From: Arman Ozak Date: Fri, 13 Mar 2020 14:58:22 +0300 Subject: [PATCH] docs: fix dispatchAddRoute description --- docs/en/UI/Angular/Config-State.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/UI/Angular/Config-State.md b/docs/en/UI/Angular/Config-State.md index 77885d0e05..72c8e6c6fd 100644 --- a/docs/en/UI/Angular/Config-State.md +++ b/docs/en/UI/Angular/Config-State.md @@ -225,7 +225,7 @@ this.config.dispatchPatchRouteByName("::Menu:Home", newRouteConfig); ### How to Add a New Route Configuration -The `dispatchPatchRouteByName` triggers a state method that finds a route by its name and replaces its configuration in the `Store` with the new configuration passed as the second parameter. +The `dispatchAddRoute` adds a new route to the configuration state in the `Store`. For this, the route config should be passed as the parameter of the method. ```js // this.config is instance of ConfigStateService