Fix missing icon in alert

parent 312b6f17
......@@ -62,12 +62,9 @@ export default {
{{ __('Start Web Terminal') }}
</gl-button>
</p>
<gl-alert
v-if="!isValid && message"
v-safe-html="message"
variant="tip"
:dismissable="false"
/>
<gl-alert v-if="!isValid && message" variant="tip" :dismissable="false">
<span v-safe-html="message"></span>
</gl-alert>
<p v-else>
<a
v-if="helpPath"
......
......@@ -101,6 +101,6 @@ describe('IDE TerminalEmptyState', () => {
});
expect(wrapper.find(GlButton).props('disabled')).toBe(true);
expect(wrapper.find(GlAlert).element.innerHTML).toBe(TEST_HTML_MESSAGE);
expect(wrapper.find(GlAlert).html()).toContain(TEST_HTML_MESSAGE);
});
});
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