Commit 8aaf26ce authored by Jacques Erasmus's avatar Jacques Erasmus

Merge branch '324318-add-svg-blob-viewer' into 'master'

Add SVG blob viewer

See merge request gitlab-org/gitlab!81567
parents 608f21b0 b01cb463
......@@ -8,6 +8,7 @@ const viewers = {
pdf: () => import('./pdf_viewer.vue'),
lfs: () => import('./lfs_viewer.vue'),
audio: () => import('./audio_viewer.vue'),
svg: () => import('./image_viewer.vue'),
};
export const loadViewer = (type, isUsingLfs) => {
......
......@@ -62,7 +62,7 @@ RSpec.shared_examples 'it uploads and commits a new image file' do |drop: false|
visit(project_blob_path(project, 'upload_image/logo_sample.svg'))
expect(page).to have_css('.file-content img')
expect(page).to have_css('.file-holder img')
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment