File tree Expand file tree Collapse file tree 5 files changed +15
-13
lines changed
Expand file tree Collapse file tree 5 files changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export default {
5757 socketConnection () {
5858 if (this .socketConnection ) return ;
5959
60- setTimeout (() => {
60+ setTimeout (() => {
6161 if (this .socketConnection ) return ;
6262 let options = {
6363 positionClass: " toast-bottom-left"
@@ -68,7 +68,7 @@ export default {
6868 " Connection Lost" ,
6969 options
7070 );
71- }, 1000 )
71+ }, 1000 );
7272 },
7373 loginRequired: {
7474 handler (newValue ) {
Original file line number Diff line number Diff line change @@ -129,14 +129,13 @@ export default {
129129
130130 if (show) {
131131 setTimeout (() => {
132- this .highlight = true
132+ this .highlight = true ;
133133 this .$el .scrollIntoView ({
134134 behavior: " smooth"
135135 });
136- setTimeout (() => this .highlight = false , 1000 )
137- }, 200 )
136+ setTimeout (() => ( this .highlight = false ) , 1000 );
137+ }, 200 );
138138 }
139-
140139 }
141140 }
142141};
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ export default {
207207 this .axiosReqestError (" Create User" , error .response .data .message );
208208 });
209209 },
210- editUser (user ) {},
210+ editUser () {},
211211 deleteUser (user ) {
212212 let yes = confirm (
213213 " Are you sure you want to delete " +
Original file line number Diff line number Diff line change @@ -351,13 +351,18 @@ export default {
351351 let options = {
352352 progressBar: true ,
353353 positionClass: " toast-bottom-left" ,
354- onclick : (r ) => {
355- console .log (r)
354+ onclick : () => {
356355 let id = response .data .id ;
357- this .$router .push ({ path: ' /tasks' , query: {id: id} });
356+ this .$router .push ({ path: " /tasks" , query: { id: id } });
358357 }
359358 };
360- this .$toastr .success (` Scanning task created with id ${ response .data .id } (click to view).` , " Scanning Dataset" , options);
359+ this .$toastr .success (
360+ ` Scanning task created with id ${
361+ response .data .id
362+ } (click to view).` ,
363+ " Scanning Dataset" ,
364+ options
365+ );
361366 })
362367 .catch (error => {
363368 this .axiosReqestError (
Original file line number Diff line number Diff line change @@ -55,13 +55,11 @@ export default {
5555 .finally (() => this .removeProcess (process ));
5656 },
5757 showTask (taskId ) {
58- console .log (" Showing " + taskId);
5958 if (taskId == null ) return ;
6059
6160 let task = this .tasks .find (t => t .id == taskId);
6261 if (task == null ) return ;
6362 task .show = true ;
64- console .log (task);
6563 }
6664 },
6765 watch: {
You can’t perform that action at this time.
0 commit comments