@@ -20,7 +20,7 @@ export function fetchFilesInDataset(id){
2020 return V2 . DatasetsService . getDatasetFilesApiV2DatasetsDatasetIdFilesGet ( id ) . catch ( reason => {
2121 if ( reason . status === 401 ) {
2222 console . log ( "Unauthorized!" ) ;
23- logout ( ) ;
23+ // logout();
2424 }
2525 dispatch ( receiveFilesInDataset ( RECEIVE_FILES_IN_DATASET , [ ] ) ) ;
2626 } ) . then ( json => {
@@ -46,7 +46,7 @@ export function fetchDatasetAbout(id){
4646 return V2 . DatasetsService . getDatasetApiV2DatasetsDatasetIdGet ( id ) . catch ( reason => {
4747 if ( reason . status === 401 ) {
4848 console . log ( "Unauthorized!" ) ;
49- logout ( ) ;
49+ // logout();
5050 }
5151 dispatch ( receiveDatasetAbout ( RECEIVE_DATASET_ABOUT , [ ] ) ) ;
5252 } ) . then ( json => {
@@ -73,7 +73,7 @@ export function fetchDatasets(when, date, limit=5){
7373 return V2 . DatasetsService . getDatasetsApiV2DatasetsGet ( 0 , limit ) . catch ( reason => {
7474 if ( reason . status === 401 ) {
7575 console . log ( "Unauthorized!" ) ;
76- logout ( ) ;
76+ // logout();
7777 }
7878 dispatch ( receiveDatasets ( RECEIVE_DATASETS , [ ] ) ) ;
7979 } ) . then ( json => {
@@ -88,7 +88,7 @@ export function datasetCreated(formData){
8888 return V2 . DatasetsService . saveDatasetApiV2DatasetsPost ( formData ) . catch ( reason => {
8989 if ( reason . status === 401 ) {
9090 console . error ( "Failed to create dataset: Not authenticated: " , reason ) ;
91- logout ( ) ;
91+ // logout();
9292 }
9393 dispatch ( {
9494 type : CREATE_DATASET ,
@@ -111,7 +111,7 @@ export function datasetDeleted(datasetId){
111111 return V2 . DatasetsService . deleteDatasetApiV2DatasetsDatasetIdDelete ( datasetId ) . catch ( reason => {
112112 if ( reason . status === 401 ) {
113113 console . log ( "Unauthorized!" ) ;
114- logout ( ) ;
114+ // logout();
115115 }
116116 dispatch ( {
117117 type : DELETE_DATASET ,
0 commit comments