0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-25 18:50:27 +01:00
Dieser Commit ist enthalten in:
Faizaan Gagan 2021-08-10 14:35:56 +05:30
Ursprung c1fc2fd0e4
Commit dee3691cd0

Datei anzeigen

@ -103,7 +103,7 @@ class CustomWizard::Submission
wizard_id = submission.wizard.id wizard_id = submission.wizard.id
submission_id = submission.id submission_id = submission.id
data = PluginStore.get("#{wizard_id}_#{KEY}", user_id) data = PluginStore.get("#{wizard_id}_#{KEY}", user_id)
data.delete_if { |sub| sub["id"] == submission_id} data.delete_if { |sub| sub["id"] == submission_id }
PluginStore.set("#{wizard_id}_#{KEY}", user_id, data) PluginStore.set("#{wizard_id}_#{KEY}", user_id, data)
end end
end end