mirror of
https://github.com/apache/superset.git
synced 2026-04-09 03:16:07 +00:00
* [toasts] get rid of notify globals, refactor messageToasts for use by entire app * [remove notify] use arrow func in ajax call * fix lint + tests * actually fix tests from messageToast refactor * add 'test:one' npm script * debugger * [toasts] convert bootstrap flash messages to toasts in explore + sqllab * [toasts][tests] import from right file
7 lines
236 B
JavaScript
7 lines
236 B
JavaScript
import { INFO_TOAST, DANGER_TOAST } from '../../../src/messageToasts/constants';
|
|
|
|
export default [
|
|
{ id: 'info_id', toastType: INFO_TOAST, text: 'info toast' },
|
|
{ id: 'danger_id', toastType: DANGER_TOAST, text: 'danger toast' },
|
|
];
|