markAsRecentlyUsed()

in src/application/ui/src/components/ProductImage.js [160:169]


    markAsRecentlyUsed(key) {
        // Remove the key from its current position
        const index = this.accessOrder.indexOf(key);
        if (index !== -1) {
            this.accessOrder.splice(index, 1);
        }

        // Add it to the end (most recently used position)
        this.accessOrder.push(key);
    }