Commit 3ea65bae authored by Filipa Lacerda's avatar Filipa Lacerda

Fix application row specs

parent e28e1f42
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
titleLink: { titleLink: {
type: String, type: String,
required: false, required: false,
default: '', default: null,
}, },
description: { description: {
type: String, type: String,
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
statusReason: { statusReason: {
type: String, type: String,
required: false, required: false,
default: '', default: null,
}, },
requestStatus: { requestStatus: {
type: String, type: String,
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
requestReason: { requestReason: {
type: String, type: String,
required: false, required: false,
default: '', default: null,
}, },
}, },
computed: { computed: {
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
role="row" role="row"
> >
<a <a
v-if="titleLink !== ''" v-if="titleLink"
:href="titleLink" :href="titleLink"
target="blank" target="blank"
rel="noopener noreferrer" rel="noopener noreferrer"
...@@ -172,15 +172,15 @@ ...@@ -172,15 +172,15 @@
<p class="js-cluster-application-general-error-message"> <p class="js-cluster-application-general-error-message">
{{ generalErrorDescription }} {{ generalErrorDescription }}
</p> </p>
<ul v-if="statusReason !== '' || requestReason !== ''"> <ul v-if="statusReason || requestReason">
<li <li
v-if="statusReason !== ''" v-if="statusReason"
class="js-cluster-application-status-error-message" class="js-cluster-application-status-error-message"
> >
{{ statusReason }} {{ statusReason }}
</li> </li>
<li <li
v-if="requestReason !== ''" v-if="requestReaso"
class="js-cluster-application-request-error-message" class="js-cluster-application-request-error-message"
> >
{{ requestReason }} {{ requestReason }}
......
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