[fix] fixed issuer #3 (edit drink if picture is not loading)
This commit is contained in:
		
							parent
							
								
									a8c17a24d0
								
							
						
					
					
						commit
						a7765797d1
					
				| 
						 | 
					@ -54,6 +54,29 @@
 | 
				
			||||||
                {{ props.row.type.name }}
 | 
					                {{ props.row.type.name }}
 | 
				
			||||||
              </div>
 | 
					              </div>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
 | 
					            <template #error>
 | 
				
			||||||
 | 
					              <q-img class="bg-white" style="max-height: 256px" src='no-image.svg' />
 | 
				
			||||||
 | 
					              <div
 | 
				
			||||||
 | 
					                v-if="!public && !nodetails && editable"
 | 
				
			||||||
 | 
					                class="absolute-top-right justify-end"
 | 
				
			||||||
 | 
					                style="background-color: transparent"
 | 
				
			||||||
 | 
					              >
 | 
				
			||||||
 | 
					                <q-btn
 | 
				
			||||||
 | 
					                  round
 | 
				
			||||||
 | 
					                  icon="mdi-pencil"
 | 
				
			||||||
 | 
					                  style="background-color: rgba(0, 0, 0, 0.5)"
 | 
				
			||||||
 | 
					                  @click="editDrink = props.row"
 | 
				
			||||||
 | 
					                />
 | 
				
			||||||
 | 
					              </div>
 | 
				
			||||||
 | 
					              <div class="absolute-bottom-right justify-end">
 | 
				
			||||||
 | 
					                <div class="text-subtitle1 text-right">
 | 
				
			||||||
 | 
					                  {{ props.row.name }}
 | 
				
			||||||
 | 
					                </div>
 | 
				
			||||||
 | 
					                <div class="text-caption text-right">
 | 
				
			||||||
 | 
					                  {{ props.row.type.name }}
 | 
				
			||||||
 | 
					                </div>
 | 
				
			||||||
 | 
					              </div>
 | 
				
			||||||
 | 
					            </template>
 | 
				
			||||||
          </q-img>
 | 
					          </q-img>
 | 
				
			||||||
          <q-card-section>
 | 
					          <q-card-section>
 | 
				
			||||||
            <q-badge
 | 
					            <q-badge
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue