Compare commits
No commits in common. "ai-dev" and "master" have entirely different histories.
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,8 +1,3 @@
|
||||
node_modules/
|
||||
*/node_modules/
|
||||
*/build/
|
||||
|
||||
**/node_modules/
|
||||
**/build/
|
||||
.DS_Store
|
||||
.env
|
||||
@ -1 +0,0 @@
|
||||
{}
|
||||
@ -46,8 +46,6 @@ export const getButtonColor = (
|
||||
hasHover: boolean,
|
||||
isActive = false,
|
||||
) => {
|
||||
if (color === 'red') { color = 'danger'; }
|
||||
|
||||
if (color === 'void') {
|
||||
return '';
|
||||
}
|
||||
|
||||
@ -109,27 +109,27 @@ const TasksTablesPage = () => {
|
||||
<BaseButton
|
||||
className={'mr-3'}
|
||||
href={'/tasks/tasks-new'}
|
||||
color='red'
|
||||
color='info'
|
||||
label='New Item'
|
||||
/>
|
||||
)}
|
||||
|
||||
<BaseButton
|
||||
className={'mr-3'}
|
||||
color='red'
|
||||
color='info'
|
||||
label='Filter'
|
||||
onClick={addFilter}
|
||||
/>
|
||||
<BaseButton
|
||||
className={'mr-3'}
|
||||
color='red'
|
||||
color='info'
|
||||
label='Download CSV'
|
||||
onClick={getTasksCSV}
|
||||
/>
|
||||
|
||||
{hasCreatePermission && (
|
||||
<BaseButton
|
||||
color='red'
|
||||
color='info'
|
||||
label='Upload CSV'
|
||||
onClick={() => setIsModalActive(true)}
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user