Quellcode durchsuchen

Error fix on Property Page

master
George Williams vor 5 Jahren
Ursprung
Commit
18f4b966a7
1 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
  1. 3
    2
      src/components/property/propertyPage.vue

+ 3
- 2
src/components/property/propertyPage.vue Datei anzeigen

93
                       </li>
93
                       </li>
94
                       <li class="d-flex justify-content-between">
94
                       <li class="d-flex justify-content-between">
95
                         <strong>Status:</strong>
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
                       </li>
99
                       </li>
98
                       <li class="d-flex justify-content-between">
100
                       <li class="d-flex justify-content-between">
99
                         <strong>Address:</strong>
101
                         <strong>Address:</strong>
111
                     class="btn btn-b-n"
113
                     class="btn btn-b-n"
112
                     data-toggle="modal"
114
                     data-toggle="modal"
113
                     data-target="#myModal"
115
                     data-target="#myModal"
114
-                    :disabled="property.status.code === 'E1'"
115
                   >Make an Offer</button>
116
                   >Make an Offer</button>
116
                   <div id="myModal" class="modal fade" role="dialog">
117
                   <div id="myModal" class="modal fade" role="dialog">
117
                     <div class="modal-dialog modal-lg">
118
                     <div class="modal-dialog modal-lg">

Laden…
Abbrechen
Speichern