summaryrefslogtreecommitdiff
path: root/frontend/views
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-06-01 19:45:15 +0200
committerJules Laplace <julescarbon@gmail.com>2020-06-01 19:45:15 +0200
commit3fb522534cff61576ac58ae466a2752585b8c44e (patch)
treebefac10b20e0c07e7e3fa32e77fc1429e8708e53 /frontend/views
parent288694ae9a61c59dba91e2357fa7785d95a51341 (diff)
setting up the database...
Diffstat (limited to 'frontend/views')
-rw-r--r--frontend/views/index.js10
-rw-r--r--frontend/views/upload/components/upload.index.js3
-rw-r--r--frontend/views/upload/upload.reducer.js3
3 files changed, 0 insertions, 16 deletions
diff --git a/frontend/views/index.js b/frontend/views/index.js
index d1e4243..5f88c96 100644
--- a/frontend/views/index.js
+++ b/frontend/views/index.js
@@ -1,11 +1 @@
-export { Container as detectionIndex } from './detectionIndex'
-export { Container as featureIndex } from './featureIndex'
-export { Container as import } from './mediaImport'
-export { Container as collection } from './collection'
-export { Container as dashboard } from './dashboard'
-export { Container as detection } from './detection'
-export { Container as modelzoo } from './modelzoo'
-export { Container as search } from './search'
export { Container as upload } from './upload'
-export { Container as media } from './media'
-export { Container as task } from './task'
diff --git a/frontend/views/upload/components/upload.index.js b/frontend/views/upload/components/upload.index.js
index 4435043..6123001 100644
--- a/frontend/views/upload/components/upload.index.js
+++ b/frontend/views/upload/components/upload.index.js
@@ -8,8 +8,6 @@ import actions from '../../../actions'
import UploadIndexOptions from './upload.indexOptions'
import UploadMenu from './upload.menu'
-import CollectionMediaToggle from '../../collectionMedia/collectionMedia.toggle.js'
-
// const { result, collectionLookup } = this.props
export default class UploadIndex extends Component {
@@ -104,4 +102,3 @@ const UploadItem = ({ data }) => {
)
}
- // <CollectionMediaToggle collectionLookup={collectionLookup} id={result.media.id} />
diff --git a/frontend/views/upload/upload.reducer.js b/frontend/views/upload/upload.reducer.js
index 674fcf8..98dc0a1 100644
--- a/frontend/views/upload/upload.reducer.js
+++ b/frontend/views/upload/upload.reducer.js
@@ -13,9 +13,6 @@ const reducer = crudReducer('upload')
export default function uploadReducer(state = initialState, action) {
// console.log(action.type, action)
- if (action.type === types.search.loaded && action.tag === 'query') {
- // console.log("infer:", action.data.infer)
- }
state = reducer(state, action)
switch (action.type) {
default: