Compare commits

..

No commits in common. "9696b78728402634a048474b4dbd2296ae36221c" and "913e8f0da9c133420830791f7259a471d11c1e98" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ export default function createManifest(
const manifest: Record<string, unknown> = {
name: 'Queue',
description: 'A WebExtension for queueing links.',
version: '0.3.1',
version: '0.3.0',
permissions: ['contextMenus', 'storage'],
options_ui: {
page: 'options/index.html',

View File

@ -92,7 +92,7 @@ export class Settings {
}
public nextQueueItem(): Queue.Item | undefined {
return this.queue.sort((a, b) => a.sortIndex - b.sortIndex)[0];
return this.queue.sort((a, b) => a.added.getTime() - b.added.getTime())[0];
}
public async removeQueueItem(id: number): Promise<void> {