UNPKG

mattermost-redux

Version:

Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client

11 lines (10 loc) 642 B
"use strict"; // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. Object.defineProperty(exports, "__esModule", { value: true }); exports.interactiveDialogAppsFormEnabled = void 0; const create_selector_1 = require("mattermost-redux/selectors/create_selector"); const general_1 = require("mattermost-redux/selectors/entities/general"); exports.interactiveDialogAppsFormEnabled = (0, create_selector_1.createSelector)('interactiveDialogAppsFormEnabled', (state) => (0, general_1.getConfig)(state), (config) => { return config?.FeatureFlagInteractiveDialogAppsForm === 'true'; });