mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
SubGroupListWidget: use timestamp from model, not from listWidget
This ensures that the fallback timestamp is used if the list is still empty. Not doing this causes the wikis in the cross-wiki bundle to appear in the wrong order. Also, it makes more sense to use the model as the source of truth regardless. Bug: T138115 Change-Id: Icbfdc7e7c7f67179e50f0f692aef1a54568265e6
This commit is contained in:
parent
5a5e1970c5
commit
92d1d600ae
|
@ -206,7 +206,7 @@
|
|||
* @return {number} Timestamp
|
||||
*/
|
||||
mw.echo.ui.SubGroupListWidget.prototype.getTimestamp = function () {
|
||||
return this.listWidget.getTimestamp();
|
||||
return this.model.getTimestamp();
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue