UNPKG

mattermost-redux

Version:

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

9 lines (8 loc) 345 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.getDisplayableErrors = getDisplayableErrors; function getDisplayableErrors(state) { return state.errors.filter((error) => error.displayable); }