2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-05-28 11:59:23 +00:00

Fix text for plugin activation dialog (#12021)

This commit is contained in:
Oliver
2026-05-28 06:33:43 +10:00
committed by GitHub
parent a9549c2e07
commit f3be14467d
2 changed files with 1 additions and 3 deletions
@@ -261,7 +261,7 @@ export default function PluginListTable() {
const [pluginPackage, setPluginPackage] = useState<string>(''); const [pluginPackage, setPluginPackage] = useState<string>('');
const activatePluginModal = useEditApiFormModal({ const activatePluginModal = useEditApiFormModal({
title: t`Activate Plugin`, title: activate ? t`Activate Plugin` : t`Deactivate Plugin`,
url: ApiEndpoints.plugin_activate, url: ApiEndpoints.plugin_activate,
pathParams: { key: selectedPluginKey }, pathParams: { key: selectedPluginKey },
preFormContent: activateModalContent, preFormContent: activateModalContent,
@@ -290,8 +290,6 @@ test('Parts - BOM Validation', async ({ browser }) => {
// Edit line item, to ensure BOM is not valid // Edit line item, to ensure BOM is not valid
const cell = await page.getByRole('cell', { name: 'paint', exact: true }); const cell = await page.getByRole('cell', { name: 'paint', exact: true });
// await cell.click({ button: 'right' });
// await page.getByRole('button', { name: 'Edit', exact: true }).click();
await clickOnRowMenu(cell); await clickOnRowMenu(cell);
await page.getByRole('menuitem', { name: 'Edit', exact: true }).click(); await page.getByRole('menuitem', { name: 'Edit', exact: true }).click();