Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document editor: fix bnf import #322

Merged
merged 1 commit into from
Jul 23, 2020
Merged

document editor: fix bnf import #322

merged 1 commit into from
Jul 23, 2020

Conversation

jma
Copy link
Contributor

@jma jma commented Jul 23, 2020

  • Changes the sequence of editor initalization to avoid concurency
    problem with the JSONSchema loading.

Co-Authored-by: Johnny Mariéthoz Johnny.Mariethoz@rero.ch

Why are you opening this PR?

  • Which task/US does it implement?
  • Which issue does it fix?

Dependencies

My PR depends on the following PR(s):

How to test?

  • What command should I have to run to test your PR?
  • What should I test through the UI?

Code review check list

  • Commit message template compliance.
  • Commit message without typos.
  • File names.
  • Functions names.
  • Functions docstrings.
  • Unnecessary commited files?
  • Extracted translations?

@jma jma requested a review from sebdeleze July 23, 2020 08:58
Comment on lines 18 to 19
import { Component } from '@angular/core';
import { ToastrService } from 'ngx-toastr';
import { TranslateService } from '@ngx-translate/core';
import { EditorService } from '../../../service/editor.service';
import { ActivatedRoute } from '@angular/router';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imports not correctly sorted.

*
* @param value - true if the child editor component is currently loading data
*/
loadingChanged(value) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can type parameter as boolean.

* Changes the sequence of editor initalization to avoid concurency
  problem with the JSONSchema loading.

Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
@jma jma requested a review from sebdeleze July 23, 2020 10:32
@jma jma merged commit 727cf27 into rero:dev Jul 23, 2020
@jma jma deleted the maj-fix-import-bnf branch February 11, 2021 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants