When users use Shared links folder Icons are not showing

Nextcloud version 18.0.2
Operating system and version Ubuntu 18.04
Apache or nginx version Apache 2.4.29
PHP version _7.2.24

The issue you are facing:

Is this the first time you’ve seen this error? (Y):

Steps to replicate it:

When sharing a folder with a public link

  1. log in with a valid user
  2. share a folder that contains sub-folders
  3. goto the shared link from any device.

when doing this the folder icons are all gray and not showing the same as it does when logged in with a valid user
** you can see a screenshoot here: https://www.screencast.com/t/7k7UBt2UZ

The output of your Nextcloud log in Admin > Logging:

Not sure what to look at in the log

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => '********',
  'passwordsalt' => '********',
  'secret' => '********',
  'trusted_domains' => 
  array (
    0 => '********',
    1 => '********',
    2 => '********',
  ),
  'datadirectory' => '/********/data',
  'dbtype' => 'mysql',
  'version' => '18.0.2.2',
  'overwrite.cli.url' => 'https://********.********',
  'overwriteprotocol' => 'https',
  'dbname' => '********',
  'dbhost' => '********',
  'dbport' => '',
  'dbtableprefix' => '********_',
  'mysql.utf8mb4' => true,
  'dbuser' => '********',
  'dbpassword' => '********',
  'htaccess.RewriteBase' => '/',
  'installed' => true,
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
    'timeout' => 3,
  ),
  'mail_from_address' => '********',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => '********',
  'mail_smtpauthtype' => 'NTLM',
  'mail_smtphost' => '********',
  'mail_smtpport' => '********',
  'app_install_overwrite' => 
  array (
    0 => 'sharerenamer',
  ),
  'maintenance' => false,
);

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

**** Please let me know what else I need to add to this to get help with the investigation ****

The inspection of the pages is using

url(/apps/theming/img/core/filetypes/file.svg?v=13) not url(/apps/theming/img/core/filetypes/folder.svg?v=13)

how can I correct this?

This also is only an issue when sharing group folders.

Is this config or code?