Browse Source

Error fix on Property Page

master
George Williams 5 years ago
parent
commit
18f4b966a7
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      src/components/property/propertyPage.vue

+ 3
- 2
src/components/property/propertyPage.vue View File

@@ -93,7 +93,9 @@
93 93
                       </li>
94 94
                       <li class="d-flex justify-content-between">
95 95
                         <strong>Status:</strong>
96
-                        <span>{{ property.status.code }} - {{ property.status.description }}</span>
96
+                        <span
97
+                          v-if="property.status"
98
+                        >{{ property.status.code }} - {{ property.status.description }}</span>
97 99
                       </li>
98 100
                       <li class="d-flex justify-content-between">
99 101
                         <strong>Address:</strong>
@@ -111,7 +113,6 @@
111 113
                     class="btn btn-b-n"
112 114
                     data-toggle="modal"
113 115
                     data-target="#myModal"
114
-                    :disabled="property.status.code === 'E1'"
115 116
                   >Make an Offer</button>
116 117
                   <div id="myModal" class="modal fade" role="dialog">
117 118
                     <div class="modal-dialog modal-lg">

Loading…
Cancel
Save