diff options
author | Geireann Lindfield Roberts <60007097+geireann@users.noreply.github.com> | 2022-06-30 12:29:53 -0700 |
---|---|---|
committer | Geireann Lindfield Roberts <60007097+geireann@users.noreply.github.com> | 2022-06-30 12:29:53 -0700 |
commit | 2917042be6dc9d05a1a6a8d9dd01d19f915f1b68 (patch) | |
tree | a807351f2b8d5cb84023fc0348fea5df4c62b9e2 /src/client/documents/Documents.ts | |
parent | 891b03238ee7bf6bd9e83cc20c1720c42059ce04 (diff) | |
parent | 06ce1d6cf0fb96bb45519c3128d2ab3033ddd2ae (diff) |
Merge branch 'parker' of https://github.com/brown-dash/Dash-Web into parker
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index d22a9d763..5a23c3281 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -1270,23 +1270,6 @@ export namespace DocUtils { })) as ContextMenuProps[], icon: "sticky-note" }); - const math: ContextMenuProps = ({ - description: ":Math", event: () => { - const created = Docs.Create.EquationDocument(); - if (created) { - created.author = Doc.CurrentUserEmail; - created.x = x; - created.y = y; - created.width = 300; - created.height = 35; - EquationBox.SelectOnLoad = created[Id]; - if (pivotField) { - created[pivotField] = pivotValue - } - docAdder?.(created); - } - }, icon: "calculator" - }); const documentList: ContextMenuProps[] = DocListCast(DocListCast(CurrentUserUtils.MyTools?.data)[0]?.data).filter(btnDoc => !btnDoc.hidden).map(btnDoc => Cast(btnDoc?.dragFactory, Doc, null)).filter(doc => doc && doc !== Doc.UserDoc().emptyPresentation).map((dragDoc, i) => ({ description: ":" + StrCast(dragDoc.title).replace("Untitled ",""), event: undoBatch((args: { x: number, y: number }) => { |