diff --git a/app/assets/javascripts/supplier/app/templates/tables/index.emblem b/app/assets/javascripts/supplier/app/templates/tables/index.emblem index 13355ae5..37f3039c 100644 --- a/app/assets/javascripts/supplier/app/templates/tables/index.emblem +++ b/app/assets/javascripts/supplier/app/templates/tables/index.emblem @@ -21,7 +21,8 @@ a.table-edit{ action 'editTable' table }: span a.table-destroy{ action 'destroyTable' table }: span .form-actions - a.form-action-new{action "newTable"}= t 'table.new_button' - a.table-qr-codes{path qr_codes_suppliers_tables} target="_blank" - span.qr-icon - = t 'table.print_qr_codes' + a.form-action-new.new-table-button{action "newTable"}= t 'table.new_button' + if tables + a.table-qr-codes{path qr_codes_suppliers_tables} target="_blank" + span.qr-icon + = t 'table.print_qr_codes'