Don't show feedback prompts when that UIFeature is disabled (#9305)
This commit is contained in:
parent
88c12cdaa5
commit
56c95467de
12 changed files with 303 additions and 127 deletions
|
@ -22,9 +22,10 @@ import SdkConfig from "../../../SdkConfig";
|
|||
import AccessibleButton from "../../views/elements/AccessibleButton";
|
||||
import Heading from "../../views/typography/Heading";
|
||||
import FeedbackDialog from "../dialogs/FeedbackDialog";
|
||||
import { shouldShowFeedback } from "../../../utils/Feedback";
|
||||
|
||||
export function UserOnboardingFeedback() {
|
||||
if (!SdkConfig.get().bug_report_endpoint_url) {
|
||||
if (!shouldShowFeedback()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue