Commit 0037cd80 authored by Tom Quirk's avatar Tom Quirk

Remove deprecated_project_avatar in web ide

parent 6a0c364b
<script> <script>
import ProjectAvatarDefault from '~/vue_shared/components/deprecated_project_avatar/default.vue'; import ProjectAvatar from '~/vue_shared/components/project_avatar.vue';
export default { export default {
components: { components: {
ProjectAvatarDefault, ProjectAvatar,
}, },
props: { props: {
project: { project: {
...@@ -17,7 +17,11 @@ export default { ...@@ -17,7 +17,11 @@ export default {
<template> <template>
<div class="context-header ide-context-header"> <div class="context-header ide-context-header">
<a :href="project.web_url" :title="s__('IDE|Go to project')"> <a :href="project.web_url" :title="s__('IDE|Go to project')">
<project-avatar-default :project="project" :size="48" /> <project-avatar
:project-name="project.name"
:project-avatar-url="project.avatar_url"
:size="48"
/>
<span class="ide-sidebar-project-title"> <span class="ide-sidebar-project-title">
<span class="sidebar-context-title"> {{ project.name }} </span> <span class="sidebar-context-title"> {{ project.name }} </span>
<span <span
......
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