# متغيران متتبعان لا يُحدّثان

**URL:** <https://meta.discourse.org/t/two-tracked-variables-not-updating/345332>\
**Category:** Development\
**Created:** [2 يناير 2025، 11:18م UTC](https://meta.discourse.org/t/two-tracked-variables-not-updating/345332 "2025-01-02T23:18:03Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [3 فبراير 2025، 9:11ص UTC](https://meta.discourse.org/t/two-tracked-variables-not-updating/345332/7 "2025-02-03T09:11:21Z")

</div>

> [@NateDhaliwal](#):
>
> `{{#if this.annsData.visible}}`

من المحتمل أن هذا النوع من الأشياء لا يعمل.

لا أعتقد أن EmberJS سيراقب الخصائص المتداخلة.

يجب عليك إنشاء وتتبع واختبار الخصائص على نفس المستوى.

لذا قم بإنشاء خاصية متتبعة تسمى مثلاً annsDataVisible، قم بتحديث قيمتها واستخدمها في عبارة if الخاصة بك.

---

_[View the full topic](https://meta.discourse.org/t/two-tracked-variables-not-updating/345332)._
