First part of the UI for file import (upload of csv file to the server)
This commit is contained in:
parent
965f30cea7
commit
6648028270
31 changed files with 672 additions and 51 deletions
|
@ -64,7 +64,6 @@ export default class List extends Component {
|
|||
const actions = [];
|
||||
const triggersCount = data[6];
|
||||
const perms = data[7];
|
||||
console.log(data);
|
||||
|
||||
if (perms.includes('viewSubscriptions')) {
|
||||
actions.push({
|
||||
|
@ -94,6 +93,13 @@ export default class List extends Component {
|
|||
});
|
||||
}
|
||||
|
||||
if (perms.includes('viewImports')) {
|
||||
actions.push({
|
||||
label: <Icon icon="arrow-down" title={t('Imports')}/>,
|
||||
link: `/lists/${data[0]}/imports`
|
||||
});
|
||||
}
|
||||
|
||||
if (triggersCount > 0) {
|
||||
actions.push({
|
||||
label: <Icon icon="flash" title={t('Triggers')}/>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue