mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-09-19 05:59:34 +02:00
fix: misc
This commit is contained in:
@@ -1,6 +0,0 @@
|
|||||||
import { expect, describe, it } from 'vitest';
|
|
||||||
// import { main } from './service';
|
|
||||||
//
|
|
||||||
// describe('generic-calc', () => {
|
|
||||||
//
|
|
||||||
// })
|
|
@@ -237,10 +237,7 @@ export default async function makeTool(
|
|||||||
initialValues={initialValues}
|
initialValues={initialValues}
|
||||||
toolInfo={{
|
toolInfo={{
|
||||||
title: calcData.name,
|
title: calcData.name,
|
||||||
description:
|
description: calcData.longDescription
|
||||||
(calcData.description || '') +
|
|
||||||
' Generated from formula: ' +
|
|
||||||
calcData.formula
|
|
||||||
}}
|
}}
|
||||||
verticalGroups
|
verticalGroups
|
||||||
getGroups={({ values, updateField }) => [
|
getGroups={({ values, updateField }) => [
|
||||||
|
@@ -17,13 +17,9 @@ allGenericCalcs.forEach((x) => {
|
|||||||
|
|
||||||
tools.push(
|
tools.push(
|
||||||
defineTool('number', {
|
defineTool('number', {
|
||||||
name: x.name,
|
...x,
|
||||||
path: 'generic-calc/' + x.path,
|
path: 'generic-calc/' + x.path,
|
||||||
icon: x.icon || '',
|
|
||||||
description: x.description || '',
|
|
||||||
shortDescription: x.description || '',
|
|
||||||
keywords: ['calculator', 'math', ...x.keywords],
|
keywords: ['calculator', 'math', ...x.keywords],
|
||||||
longDescription: x.longDescription || '',
|
|
||||||
component: lazy(importComponent2)
|
component: lazy(importComponent2)
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user