amitmiran137 commented on a change in pull request #14015:
URL: https://github.com/apache/superset/pull/14015#discussion_r613112547



##########
File path: superset/app.py
##########
@@ -523,6 +523,9 @@ def init_views(self) -> None:
                     icon="fa-cog",
                 )
             appbuilder.add_separator("Data")
+        from superset.dashboards.filter_sets.api import FilterSetRestApi
+
+        appbuilder.add_api(FilterSetRestApi)

Review comment:
       ```suggestion
           if 
feature_flag_manager.is_feature_enabled("DASHBOARD_NATIVE_FILTERS_SET"):
                   from superset.dashboards.filter_sets.api import 
FilterSetRestApi
           
                   appbuilder.add_api(FilterSetRestApi)
   ```
   Lets add it under the feature flag




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to