Commit f5bdc0be authored by Toon Claes's avatar Toon Claes

Geo: Don't show external link icon on current node

The button "Open Projects" should not show the external link icon for
the current node. But it should for any other node.
parent 082eaad3
......@@ -66,7 +66,7 @@ export default {
<div class="geo-node-actions">
<div v-if="isSecondaryNode" class="node-action-container">
<a :href="node.geoProjectsUrl" class="btn btn-sm btn-node-action" target="_blank">
<icon name="external-link" /> {{ __('Open projects') }}
<icon v-if="!node.current" name="external-link" /> {{ __('Open projects') }}
</a>
</div>
<template v-if="nodeActionsAllowed">
......
---
title: 'Geo: Don''t show external link icon on current node'
merge_request: 9130
author:
type: changed
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