migration
This commit is contained in:
parent
32b9c4a14d
commit
7d4ced15c6
90 changed files with 311 additions and 1165 deletions
|
|
@ -6,6 +6,7 @@ import { mountOpts } from '../../../fixtures/setup_test'
|
|||
|
||||
import { useInstanceCapabilitiesStore } from 'src/stores/instance_capabilities.js'
|
||||
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
||||
import { useUsersStore } from 'src/stores/users.js'
|
||||
|
||||
const currentUser = {
|
||||
id: 'current-user',
|
||||
|
|
@ -35,7 +36,7 @@ const replyMountOpts = (props) =>
|
|||
mountOpts({
|
||||
props,
|
||||
afterStore(store) {
|
||||
store.state.users.currentUser = currentUser
|
||||
useUsersStore().currentUser = currentUser
|
||||
store.state.statuses.allStatusesObject = {
|
||||
[repliedStatus.id]: repliedStatus,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue