sorting: recency -> score
This commit is contained in:
parent
6bd9a98c8c
commit
244d5b460b
|
@ -60,15 +60,14 @@ class ExtensionTip {
|
|||
if (this === tip) {
|
||||
return 0;
|
||||
}
|
||||
let result = tip.score - this.score;
|
||||
let result = tip._touched - this._touched;
|
||||
if (result === 0) {
|
||||
result = tip._touched - this._touched;
|
||||
result = tip.score - this.score;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export class ExtensionTipsService implements IExtensionTipsService {
|
||||
|
||||
serviceId: any;
|
||||
|
|
Loading…
Reference in a new issue