1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-11-24 08:22:29 +02:00

Minor cleanup

This commit is contained in:
Chen-I Lim 2020-10-15 12:03:35 -07:00
parent fdc30d003a
commit 23dc06d392
2 changed files with 2 additions and 3 deletions

View File

@ -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"

View File

@ -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"