Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
af769a47aa |
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,3 +1,8 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
*/node_modules/
|
*/node_modules/
|
||||||
*/build/
|
*/build/
|
||||||
|
|
||||||
|
**/node_modules/
|
||||||
|
**/build/
|
||||||
|
.DS_Store
|
||||||
|
.env
|
||||||
1
frontend/json/runtimeError.json
Normal file
1
frontend/json/runtimeError.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@ -46,6 +46,8 @@ export const getButtonColor = (
|
|||||||
hasHover: boolean,
|
hasHover: boolean,
|
||||||
isActive = false,
|
isActive = false,
|
||||||
) => {
|
) => {
|
||||||
|
if (color === 'red') { color = 'danger'; }
|
||||||
|
|
||||||
if (color === 'void') {
|
if (color === 'void') {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -109,27 +109,27 @@ const TasksTablesPage = () => {
|
|||||||
<BaseButton
|
<BaseButton
|
||||||
className={'mr-3'}
|
className={'mr-3'}
|
||||||
href={'/tasks/tasks-new'}
|
href={'/tasks/tasks-new'}
|
||||||
color='info'
|
color='red'
|
||||||
label='New Item'
|
label='New Item'
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<BaseButton
|
<BaseButton
|
||||||
className={'mr-3'}
|
className={'mr-3'}
|
||||||
color='info'
|
color='red'
|
||||||
label='Filter'
|
label='Filter'
|
||||||
onClick={addFilter}
|
onClick={addFilter}
|
||||||
/>
|
/>
|
||||||
<BaseButton
|
<BaseButton
|
||||||
className={'mr-3'}
|
className={'mr-3'}
|
||||||
color='info'
|
color='red'
|
||||||
label='Download CSV'
|
label='Download CSV'
|
||||||
onClick={getTasksCSV}
|
onClick={getTasksCSV}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{hasCreatePermission && (
|
{hasCreatePermission && (
|
||||||
<BaseButton
|
<BaseButton
|
||||||
color='info'
|
color='red'
|
||||||
label='Upload CSV'
|
label='Upload CSV'
|
||||||
onClick={() => setIsModalActive(true)}
|
onClick={() => setIsModalActive(true)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user