mirror of
https://github.com/mattermost/focalboard.git
synced 2024-11-24 08:22:29 +02:00
Minor cleanup
This commit is contained in:
parent
fdc30d003a
commit
23dc06d392
@ -50,7 +50,7 @@ class Archiver {
|
||||
// TODO: Remove or reuse link
|
||||
}
|
||||
|
||||
static importFullArchive(onImported?: () => void): void {
|
||||
static importFullArchive(onComplete?: () => void): void {
|
||||
const input = document.createElement("input")
|
||||
input.type = "file"
|
||||
input.accept = ".octo"
|
||||
@ -73,7 +73,7 @@ class Archiver {
|
||||
|
||||
await mutator.importFullArchive(filteredBlocks)
|
||||
Utils.log(`Import completed`)
|
||||
onImported?.()
|
||||
onComplete?.()
|
||||
}
|
||||
|
||||
input.style.display = "none"
|
||||
|
@ -9,7 +9,6 @@ import ViewMenu from "../components/viewMenu"
|
||||
import MenuWrapper from "../widgets/menuWrapper"
|
||||
import Menu from "../widgets/menu"
|
||||
import { Constants } from "../constants"
|
||||
import { randomEmojiList } from "../emojiList"
|
||||
import { Menu as OldMenu } from "../menu"
|
||||
import mutator from "../mutator"
|
||||
import { OctoUtils } from "../octoUtils"
|
||||
|
Loading…
Reference in New Issue
Block a user