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