Skip to content

Conversation

@rsdmike
Copy link
Member

@rsdmike rsdmike commented Nov 3, 2025

PR Checklist

  • Unit Tests have been added for new changes
  • API tests have been updated if applicable
  • All commented code has been removed
  • If you've added a dependency, you've ensured license is compatible with Apache 2.0 and clearly outlined the added dependency.

What are you changing?

Anything the reviewer should know when reviewing this PR?

If the there are associated PRs in other repositories, please link them here (i.e. device-management-toolkit/repo#365 )

Copilot AI review requested due to automatic review settings November 3, 2025 19:27
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a bug in the export functionality and makes the export button universally available. The changes correct the parameter being passed to exportProfile() and remove the cloud-mode restriction on the export button.

  • Fixed parameter mismatch in export() method by using profile.profileName instead of name
  • Removed conditional cloudMode check that was hiding the export button in cloud environments

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/app/profiles/profiles.component.ts Corrects parameter usage in exportProfile() calls to use profile.profileName instead of undefined name variable
src/app/profiles/profiles.component.html Removes @if (!cloudMode) conditional wrapper around the export button to make it available in all modes

auto-merge was automatically disabled November 3, 2025 22:01

Rebase failed

@madhavilosetty-intel madhavilosetty-intel merged commit 008e60c into main Nov 5, 2025
8 checks passed
@madhavilosetty-intel madhavilosetty-intel deleted the export branch November 5, 2025 15:59
RosieAMT pushed a commit that referenced this pull request Nov 5, 2025
# [3.49.0](v3.48.0...v3.49.0) (2025-11-05)

### Features

* allow export of profile for cloud mode ([#2960](#2960)) ([008e60c](008e60c))
@RosieAMT
Copy link

RosieAMT commented Nov 5, 2025

🎉 This PR is included in version 3.49.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants