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

Mmt 3203 - Update MMT to use the latest react components (support for umm-var) #983

Merged
merged 12 commits into from
Apr 4, 2023

Conversation

cgokey
Copy link
Collaborator

@cgokey cgokey commented Apr 4, 2023

No description provided.

@@ -63,8 +63,8 @@ def create

if get_resource.save
# Successful flash message
flash[:success] = I18n.t("controllers.draft.#{plural_resource_name}.create.flash.success")
Rails.logger.info("Audit Log: #{current_user.urs_uid} successfully created #{resource_name.titleize} with title: '#{get_resource.entry_title}' and id: #{get_resource.id} for provider: #{current_user.provider_id}")
flash[:success] = I18n.t("controllers.draft.#{plural_resource_name}.create.flash.success")
Copy link
Contributor

@tle1989 tle1989 Apr 4, 2023

Choose a reason for hiding this comment

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

remove extra space here line 66, 67

redirect_to manage_variables_path, flash: { error: "No matches were found for #{@associated_collection_id}" }
elsif !current_provider?(current_collection_response.body.dig('items', 0, 'meta', 'provider-id'))
redirect_to manage_variables_path, flash: { error: "Variables can only be associated to collections within the same provider. To create a variable for #{@associated_collection_id} you must change your provider context." }
super and return if params[:associated_collection_id].blank?
Copy link
Contributor

Choose a reason for hiding this comment

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

remove extra space from line 23-35

@cgokey cgokey merged commit 17d2bcf into master Apr 4, 2023
@macrouch macrouch deleted the MMT-3203 branch October 26, 2023 18:13
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.

3 participants