Skip to content

Commit

Permalink
fix(TableColumnSetup): uniq i18n keysets, styles (#1498)
Browse files Browse the repository at this point in the history
  • Loading branch information
ValeraS authored Apr 10, 2024
1 parent 79c1452 commit 271ae3f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ describe('withTableSettings', () => {

await userEvent.click(screen.getByRole('button', {name: 'Table settings'}));
await userEvent.click(await screen.findByRole('button', {name: 'description'}));
await userEvent.click(screen.getByRole('button', {name: 'button_apply'}));
await userEvent.click(screen.getByRole('button', {name: 'Apply'}));

expect(updateSettings).toHaveBeenCalledWith([
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import {addComponentKeysets} from '../../../../../utils/addComponentKeysets';
import en from './en.json';
import ru from './ru.json';

const COMPONENT = 'TableColumnSetup';
const COMPONENT = 'TableColumnSetupInner';

export default addComponentKeysets({en, ru}, COMPONENT);
2 changes: 2 additions & 0 deletions src/components/TableColumnSetup/TableColumnSetup.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
$block: '.#{variables.$ns}table-column-setup';

#{$block} {
display: inline-block;

&__status {
margin-inline-start: 5px;
color: var(--g-color-text-secondary);
Expand Down

0 comments on commit 271ae3f

Please sign in to comment.