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

Refresh snapshot create/restore dialogs #9223

Merged
merged 13 commits into from
May 25, 2021
Merged

Refresh snapshot create/restore dialogs #9223

merged 13 commits into from
May 25, 2021

Conversation

ludeeus
Copy link
Member

@ludeeus ludeeus commented May 21, 2021

Breaking change

Proposed change

sn-refresh

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example configuration

Additional information

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

@ludeeus ludeeus added the Supervisor Related to the supervisor panel label May 21, 2021

public willUpdate(changedProps) {
super.willUpdate(changedProps);
if (!this.hasUpdated) {
Copy link
Member

Choose a reason for hiding this comment

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

Should we update this if snapshot or supervisor.addons changes?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think that is needed, hasUpdated is false every time you open the dialog

@ludeeus ludeeus merged commit 0dd3757 into dev May 25, 2021
@ludeeus ludeeus deleted the sn-create-restore branch May 25, 2021 19:29
@bramkragten bramkragten mentioned this pull request May 26, 2021
@github-actions github-actions bot locked and limited conversation to collaborators May 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla-signed Supervisor Related to the supervisor panel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants