Open Closed

setState method on ConfigStateService doesn't exists in angular core package #7120


User avatar
0
devcontractor1elevos created
  • ABP Framework version: v6.0.3
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Checking the documentation, I found it, I want to try it but looks like the method is not there, the package version in Angular that I am using is 6.0.3

Some one can help on this? also help with another way to apply the configuration state?

Thanks in advance


1 Answer(s)
  • User Avatar
    0
    sinan created
    Support Team Angular Developer

    Hi, It seems there is a bug in our documentation. I will fix the documentation.

    This SetState method has been added in version 4.0.0 and removed at version 5.0.0. So it is not available in version 6.0.0

    Lastly it has been added at version 7.2.1.

    If you want to refresh the app state, you can use refreshAppState() method.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09