mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 00:01:01 +08:00
chore(regression): use correct imports from core js
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
parent
ba7599e6fe
commit
5b89d3e91a
|
@ -5,9 +5,9 @@ import Link from 'flarum/common/components/Link';
|
|||
import punctuateSeries from 'flarum/common/helpers/punctuateSeries';
|
||||
import username from 'flarum/common/helpers/username';
|
||||
import icon from 'flarum/common/helpers/icon';
|
||||
import Button from 'flarum/common/components/Button';
|
||||
|
||||
import PostLikesModal from './components/PostLikesModal';
|
||||
import Button from '@flarum/core/src/common/components/Button';
|
||||
|
||||
export default function () {
|
||||
extend(CommentPost.prototype, 'footerItems', function (items) {
|
||||
|
|
|
@ -7,8 +7,8 @@ import type { IInternalModalAttrs } from 'flarum/common/components/Modal';
|
|||
import type Post from 'flarum/common/models/Post';
|
||||
import type Mithril from 'mithril';
|
||||
import PostLikesModalState from '../states/PostLikesModalState';
|
||||
import Button from '@flarum/core/src/common/components/Button';
|
||||
import LoadingIndicator from '@flarum/core/src/common/components/LoadingIndicator';
|
||||
import Button from 'flarum/common/components/Button';
|
||||
import LoadingIndicator from 'flarum/common/components/LoadingIndicator';
|
||||
|
||||
export interface IPostLikesModalAttrs extends IInternalModalAttrs {
|
||||
post: Post;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import PaginatedListState, { PaginatedListParams } from '@flarum/core/src/common/states/PaginatedListState';
|
||||
import PaginatedListState, { PaginatedListParams } from 'flarum/common/states/PaginatedListState';
|
||||
import User from 'flarum/common/models/User';
|
||||
|
||||
export interface PostLikesModalListParams extends PaginatedListParams {
|
||||
|
|
|
@ -7,7 +7,7 @@ import MajorUpdater from './MajorUpdater';
|
|||
import ExtensionItem from './ExtensionItem';
|
||||
import { Extension } from 'flarum/admin/AdminApplication';
|
||||
import Alert from 'flarum/common/components/Alert';
|
||||
import ItemList from '@flarum/core/src/common/utils/ItemList';
|
||||
import ItemList from 'flarum/common/utils/ItemList';
|
||||
|
||||
export interface IUpdaterAttrs extends ComponentAttrs {}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import extract from 'flarum/common/utils/extract';
|
||||
import tagLabel from './tagLabel';
|
||||
import sortTags from '../utils/sortTags';
|
||||
import classList from '@flarum/core/src/common/utils/classList';
|
||||
import classList from 'flarum/common/utils/classList';
|
||||
|
||||
export default function tagsLabel(tags, attrs = {}) {
|
||||
const children = [];
|
||||
|
|
Loading…
Reference in New Issue
Block a user