My row styles aren't working correctly.

I'm trying to fix this function:
(defn- row-style-fn [_ _ {quote :raw-data}]
  (cond (:status quote)
        "bg-secondary-yellow"

        (:approved quote )
        "bg-light-green-2"

        :else
        "bg-light-grey"))

(defn quotes-table [job-id sales-contractor?]
  [table/table-component {:table-id     :quote.job
                          :header       [header-render]
                          :items-sub    [:quote.job/filtered-by-status]
                          :search       {:placeholder "Search"
                                         :render-fn   status-filter}
                          :actions      [{:label-text      "Email Quote"
                                          :type            :button
                                          :button-type     :secondary
                                          :dispatch        [:quote.job/open-email-quote-modal job-id]
                                          :required-roles  #{:customer-job/staff}}
                                         {:label-text      @(subscribe [:quote.job/create-button-text])
                                          :type            :button
                                          :button-type     :primary
                                          :disabled        @(subscribe [:quote.job/approved-quotes-exist?])
                                          :dispatch        [:quote.job/new-quote-page job-id]
                                          :required-roles  #{:customer-job/staff}}]
                          :hover-over   true
                          :click        {:dispatch :quote.job/navigate-to-edit-quote-page}
                          :row-style-fn row-style-fn
                          :columns      [{:label     ""
                                          :key       :reference
                                          :render-fn open-pdf-link
                                          :click     nil}
                                         {:label     "Quote Number"
                                          :key       :quote-number
                                          :sortable  true}
                                         {:label     "Reference"
                                          :key       :reference
                                          :sortable  true}
                                         {:label     "Total (Tax Exclusive)"
                                          :key       :sub-total
                                          :format    :currency
                                          :sortable  true}
                                         {:label     "Date Issued"
                                          :key       :create-ts
                                          :format    :datetime
                                          :sortable  true}
                                         {:label     "Status"
                                          :key       :status
                                          :render-fn render-status}
                                         {:label     "Sent"
                                          :key       :sent
                                          :format    :yes-no}
                                         {:key       :id
                                          :render-fn sales-order
                                          :click     nil}
                                         {:key       :id
                                          :render-fn (partial quote-actions sales-contractor?)
                                          :click     nil}]
                          :sort         {:key        :create-ts
                                         :direction  :descending}}])

The data I'm getting is like this:

[:quotes {
[:sub-total 12000]
[:editable true]
[:quote-s-3-name "d0bba468-3c54-400b-b95a-7d85349df37f"]
[:sent false]
[:currency-code "AUD"]
[:reference "7 - J00008"]
[:sales-order-file-url "/retrieve/095fa6aa-3 … 6b-9650-a75daea56d6c"]
[:total 13200]
[:status :approved]
[:id "1059aa3a-2ed2-42b0-87bb-45edd01b380d"]
[:quote-file-url "/retrieve/1059aa3a-2 … 0b-b95a-7d85349df37f"]
[:comment nil]
[:quote-number "ORC1081"]
[:create-ts #inst "2024-04-19T06:02:22.396-00:00"]}