diff --git a/src/server_manager/web_app/ui_components/outline-server-view.js b/src/server_manager/web_app/ui_components/outline-server-view.js index e0946264..703163a9 100644 --- a/src/server_manager/web_app/ui_components/outline-server-view.js +++ b/src/server_manager/web_app/ui_components/outline-server-view.js @@ -679,7 +679,10 @@ export class ServerView extends DirMixin(PolymerElement) { this.monthlyCost = 0; this.selectedTab = 'connections'; this.accessKeySortBy = 'name'; - /** The direction to sort: 1 == ascending, 0 == no sorting, -1 == descending */ + /** + * The direction to sort: 1 == ascending, 0 == no sorting, -1 == descending + * @type {-1|0|1} + */ this.accessKeySortDirection = 0; /** @type {(msgId: string, ...params: string[]) => string} */ this.localize = null; diff --git a/src/server_manager/web_app/ui_components/outline-sort-span.js b/src/server_manager/web_app/ui_components/outline-sort-span.js index e1da411d..1e152647 100644 --- a/src/server_manager/web_app/ui_components/outline-sort-span.js +++ b/src/server_manager/web_app/ui_components/outline-sort-span.js @@ -33,6 +33,7 @@ export class SortSpan extends LitElement { constructor() { super(); + /** @type {-1|0|1} */ this.direction = 0; }