Fix missing icon in alert

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