aesmail / aesmail/kaffy

[BUG] Error 500 on embed with one field

未關閉
#348 0 則留言 1 個 reaction 已指派 1 人 已被 @aesmail 認領 在 GitHub 檢視
bug
主要語言
Elixir
星號
1.4k
分支
171
PR 合併指標
30 天內沒有已合併 PR

描述

**Versions Used**
Kaffy: 0.11.0
Phoenix: 1.8.1
Elixir: 1.19.1

**What's actually happening?**
Throws an error: `no match of right hand side value:` when viewing a model with an embed with one field.

**What should happen instead?**
The page should render properly.

**Screenshots**
If applicable, add screenshots to help explain your problem.
Image
**Seems like one attribute does not properly fit the list matching on line 102.**

Error happens with:
Image

Fixed when:
Image

Issue:

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。