mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
🚨
This commit is contained in:
parent
12624110f6
commit
3281f33978
5 changed files with 2 additions and 6 deletions
|
|
@ -199,7 +199,7 @@ export const setFilter = async (options: {
|
||||||
}
|
}
|
||||||
let selectHTML = "";
|
let selectHTML = "";
|
||||||
let colData: IAVColumn;
|
let colData: IAVColumn;
|
||||||
const fields = getFieldsByData(options.data)
|
const fields = getFieldsByData(options.data);
|
||||||
fields.find((column) => {
|
fields.find((column) => {
|
||||||
if (column.id === options.filter.column) {
|
if (column.id === options.filter.column) {
|
||||||
colData = column;
|
colData = column;
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,6 @@ import {
|
||||||
openViewMenu
|
openViewMenu
|
||||||
} from "./view";
|
} from "./view";
|
||||||
import {focusBlock} from "../../util/selection";
|
import {focusBlock} from "../../util/selection";
|
||||||
import {avRender} from "./render";
|
|
||||||
import {setPageSize} from "./row";
|
import {setPageSize} from "./row";
|
||||||
import {bindRelationEvent, getRelationHTML, openSearchAV, setRelationCell, updateRelation} from "./relation";
|
import {bindRelationEvent, getRelationHTML, openSearchAV, setRelationCell, updateRelation} from "./relation";
|
||||||
import {bindRollupData, getRollupHTML, goSearchRollupCol} from "./rollup";
|
import {bindRollupData, getRollupHTML, goSearchRollupCol} from "./rollup";
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ export const addSort = (options: {
|
||||||
blockID: string,
|
blockID: string,
|
||||||
}) => {
|
}) => {
|
||||||
const menu = new Menu("av-add-sort");
|
const menu = new Menu("av-add-sort");
|
||||||
const fields = getFieldsByData(options.data)
|
const fields = getFieldsByData(options.data);
|
||||||
fields.forEach((column) => {
|
fields.forEach((column) => {
|
||||||
let hasSort = false;
|
let hasSort = false;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,7 @@ import {unicode2Emoji} from "../../../emoji";
|
||||||
import {transaction} from "../../wysiwyg/transaction";
|
import {transaction} from "../../wysiwyg/transaction";
|
||||||
import {openMenuPanel} from "./openMenuPanel";
|
import {openMenuPanel} from "./openMenuPanel";
|
||||||
import {focusBlock} from "../../util/selection";
|
import {focusBlock} from "../../util/selection";
|
||||||
import {Constants} from "../../../constants";
|
|
||||||
import {upDownHint} from "../../../util/upDownHint";
|
import {upDownHint} from "../../../util/upDownHint";
|
||||||
import {avRender} from "./render";
|
|
||||||
import {escapeAriaLabel, escapeAttr, escapeHtml} from "../../../util/escape";
|
import {escapeAriaLabel, escapeAttr, escapeHtml} from "../../../util/escape";
|
||||||
|
|
||||||
export const openViewMenu = (options: { protyle: IProtyle, blockElement: HTMLElement, element: HTMLElement }) => {
|
export const openViewMenu = (options: { protyle: IProtyle, blockElement: HTMLElement, element: HTMLElement }) => {
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,6 @@ import {avClick, avContextmenu, updateAVName} from "../render/av/action";
|
||||||
import {selectRow, stickyRow, updateHeader} from "../render/av/row";
|
import {selectRow, stickyRow, updateHeader} from "../render/av/row";
|
||||||
import {showColMenu} from "../render/av/col";
|
import {showColMenu} from "../render/av/col";
|
||||||
import {openViewMenu} from "../render/av/view";
|
import {openViewMenu} from "../render/av/view";
|
||||||
import {avRender} from "../render/av/render";
|
|
||||||
import {checkFold} from "../../util/noRelyPCFunction";
|
import {checkFold} from "../../util/noRelyPCFunction";
|
||||||
import {
|
import {
|
||||||
addDragFill,
|
addDragFill,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue