mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-24 13:43:12 +02:00
npm run fix
This commit is contained in:
parent
0c9f0f0240
commit
3c68a97451
@ -11,10 +11,7 @@ import {Utils} from '../utils'
|
||||
import {BoardTree} from '../viewModel/boardTree'
|
||||
|
||||
import Editable from '../widgets/editable'
|
||||
import MenuWrapper from '../widgets/menuWrapper'
|
||||
import Menu from '../widgets/menu'
|
||||
import ValueSelector from '../widgets/valueSelector'
|
||||
import {skipPartiallyEmittedExpressions} from 'typescript'
|
||||
|
||||
type Props = {
|
||||
boardTree?: BoardTree
|
||||
|
@ -64,10 +64,10 @@ class TableComponent extends React.Component<Props, State> {
|
||||
const {board, cards, activeView} = boardTree
|
||||
const titleRef = React.createRef<HTMLDivElement>()
|
||||
|
||||
let titleSortIcon = undefined
|
||||
const titleSortOption = activeView.sortOptions.find(o => o.propertyId === Constants.titleColumnId)
|
||||
let titleSortIcon
|
||||
const titleSortOption = activeView.sortOptions.find((o) => o.propertyId === Constants.titleColumnId)
|
||||
if (titleSortOption) {
|
||||
titleSortIcon = titleSortOption.reversed ? <SortUpIcon /> : <SortDownIcon />
|
||||
titleSortIcon = titleSortOption.reversed ? <SortUpIcon/> : <SortDownIcon/>
|
||||
}
|
||||
|
||||
this.cardIdToRowMap.clear()
|
||||
@ -161,10 +161,10 @@ class TableComponent extends React.Component<Props, State> {
|
||||
filter((template) => activeView.visiblePropertyIds.includes(template.id)).
|
||||
map((template) => {
|
||||
const headerRef = React.createRef<HTMLDivElement>()
|
||||
let sortIcon = undefined
|
||||
const sortOption = activeView.sortOptions.find(o => o.propertyId === template.id)
|
||||
let sortIcon
|
||||
const sortOption = activeView.sortOptions.find((o) => o.propertyId === template.id)
|
||||
if (sortOption) {
|
||||
sortIcon = sortOption.reversed ? <SortUpIcon /> : <SortDownIcon />
|
||||
sortIcon = sortOption.reversed ? <SortUpIcon/> : <SortDownIcon/>
|
||||
}
|
||||
|
||||
return (<div
|
||||
|
@ -3,7 +3,8 @@
|
||||
//
|
||||
import React, {FC} from 'react'
|
||||
import {injectIntl, IntlShape} from 'react-intl'
|
||||
import { Constants } from '../constants'
|
||||
|
||||
import {Constants} from '../constants'
|
||||
|
||||
import mutator from '../mutator'
|
||||
import {BoardTree} from '../viewModel/boardTree'
|
||||
|
@ -30,7 +30,8 @@ import FilterComponent from './filterComponent'
|
||||
|
||||
import './viewHeader.scss'
|
||||
import {sendFlashMessage} from './flashMessages'
|
||||
import { Constants } from '../constants'
|
||||
|
||||
import {Constants} from '../constants'
|
||||
|
||||
type Props = {
|
||||
boardTree?: BoardTree
|
||||
|
@ -8,7 +8,7 @@ import {BoardTree} from '../viewModel/boardTree'
|
||||
import mutator from '../mutator'
|
||||
import {Utils} from '../utils'
|
||||
import Menu from '../widgets/menu'
|
||||
import { Constants } from '../constants'
|
||||
import {Constants} from '../constants'
|
||||
|
||||
type Props = {
|
||||
boardTree?: BoardTree
|
||||
|
@ -4,7 +4,7 @@ import {Board, IPropertyOption, IPropertyTemplate, MutableBoard} from '../blocks
|
||||
import {BoardView, MutableBoardView} from '../blocks/boardView'
|
||||
import {Card, MutableCard} from '../blocks/card'
|
||||
import {CardFilter} from '../cardFilter'
|
||||
import { Constants } from '../constants'
|
||||
import {Constants} from '../constants'
|
||||
import octoClient from '../octoClient'
|
||||
import {IBlock, IMutableBlock} from '../blocks/block'
|
||||
import {OctoUtils} from '../octoUtils'
|
||||
|
Loading…
Reference in New Issue
Block a user