mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 15:41:02 +08:00
84edd8c6c2
Conflicts: client/coral-embed-stream/src/components/Stream.js
10 lines
431 B
JavaScript
10 lines
431 B
JavaScript
export {t, timeago} from 'coral-framework/services/i18n';
|
|
export {can} from 'coral-framework/services/perms';
|
|
import {isSlotEmpty as ise} from 'coral-framework/helpers/plugins';
|
|
|
|
// @TODO: Deprecated.
|
|
export function isSlotEmpty(...args) {
|
|
console.warn('A plugin is using `isSlotEmpty` which has been deprecated, please port to the new API using the `IfSlotIsEmpty` and `IfSlotIsNotEmpty` components.');
|
|
return ise(...args);
|
|
}
|