Add slot for "default panels" in View Product
so custom apps can override the full set if needed
This commit is contained in:
		
							parent
							
								
									4879a8e46c
								
							
						
					
					
						commit
						d778ce29e7
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -30,6 +30,8 @@ | ||||||
|       <img :src="product.image_url" /> |       <img :src="product.image_url" /> | ||||||
|     </div> |     </div> | ||||||
| 
 | 
 | ||||||
|  |     <slot name="default-panels" :product="product"> | ||||||
|  | 
 | ||||||
|     <b-collapse class="card" |     <b-collapse class="card" | ||||||
|                 animation="slide" |                 animation="slide" | ||||||
|                 :open="false" |                 :open="false" | ||||||
|  | @ -127,6 +129,8 @@ | ||||||
|       </div> |       </div> | ||||||
|     </b-collapse> |     </b-collapse> | ||||||
| 
 | 
 | ||||||
|  |     </slot> | ||||||
|  | 
 | ||||||
|     <slot name="extra-panels" :product="product"></slot> |     <slot name="extra-panels" :product="product"></slot> | ||||||
| 
 | 
 | ||||||
|   </byjove-model-crud> |   </byjove-model-crud> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar