Skip to content

Commit

Permalink
Merge pull request #2942 from FroggyFlox/2933_rockon-add-storage-inco…
Browse files Browse the repository at this point in the history
…rrect-summary

Swap order of newVolumes representation in summary table #2933
  • Loading branch information
phillxnet authored Dec 28, 2024
2 parents 812f1cf + 4c4a876 commit af158ae
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1617,20 +1617,20 @@ RockonSettingsSummary = RockstorWizardPage.extend({
initHandlebarHelpers: function() {
Handlebars.registerHelper('display_newVolumes', function() {
// Display newly-defined shares and their corresponding mapping
// for confimation before submit in settings_summary_table.jst
// for confirmation before submit in settings_summary_table.jst
var html = '';
for (share in this.new_volumes) {
html += '<tr>';
html += '<td>Share</td>';
html += '<td>' + this.new_volumes[share] + '</td>';
html += '<td>' + share + '</td>';
html += '<td>' + this.new_volumes[share] + '</td>';
html += '</tr>';
}
return new Handlebars.SafeString(html);
});
Handlebars.registerHelper('display_newLabels', function() {
// Display newly-defined labels and their corresponding container
// for confimation before submit in settings_summary_table.jst
// for confirmation before submit in settings_summary_table.jst
var html = '';
for (new_label in this.new_labels) {
html += '<tr>';
Expand Down

0 comments on commit af158ae

Please sign in to comment.