Commit 49f31680 authored by Jonathan Kew's avatar Jonathan Kew
Browse files

Bug 1663040 - Sort available paper sizes by name for the menu in the print UI. r=jwatt, a=RyanVM

Differential Revision:
parent 196a43c4
......@@ -810,7 +810,9 @@ const PrintSettingsViewProxy = {
return "default";
case "paperSizes":
return Object.values(this.availablePaperSizes).map(paper => {
return Object.values(this.availablePaperSizes)
.sort((a, b) =>
.map(paper => {
return {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment