mirror of
https://github.com/pawelmalak/flame.git
synced 2025-08-02 17:35:17 +02:00
Changed some messages and buttons to make it easier to open bookmarks editor
This commit is contained in:
parent
2ca90a18e1
commit
068c8ab2e7
10 changed files with 76 additions and 82 deletions
|
@ -16,11 +16,8 @@ import { actionCreators } from '../../../store';
|
|||
// Typescript
|
||||
import { Bookmark, Category } from '../../../interfaces';
|
||||
|
||||
// CSS
|
||||
import classes from './Table.module.css';
|
||||
|
||||
// UI
|
||||
import { Table } from '../../UI';
|
||||
import { Message, Table } from '../../UI';
|
||||
import { TableActions } from '../../Actions/TableActions';
|
||||
|
||||
interface Props {
|
||||
|
@ -99,7 +96,7 @@ export const CategoryTable = ({ openFormForUpdating }: Props): JSX.Element => {
|
|||
|
||||
return (
|
||||
<Fragment>
|
||||
<div className={classes.Message}>
|
||||
<Message isPrimary={false}>
|
||||
{config.useOrdering === 'orderId' ? (
|
||||
<p>You can drag and drop single rows to reorder categories</p>
|
||||
) : (
|
||||
|
@ -108,7 +105,7 @@ export const CategoryTable = ({ openFormForUpdating }: Props): JSX.Element => {
|
|||
<Link to="/settings/interface">settings</Link>
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
</Message>
|
||||
|
||||
<DragDropContext onDragEnd={dragEndHanlder}>
|
||||
<Droppable droppableId="categories">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue