How to display a text element depending on a boolean value in a collection?

$w.onReady(function () {
 $w("#dsnancyTankersley").onReady(() => { 
let items = $w("#dsnancyTankersley").getCurrentItem(); 
if (items["landscape"]) {                  //landscape
    $w("#vimgLandscape").hide();}
else   $w("#vimgLandscape").show();
if (items["#cityscape"]) {                 //cityscape
    $w("#vimgcityscape").hide();}
else   $w("#vimgcityscape").show();
if (items["#seascape"]) {                  //seascape
    $w("#vimgseascape").hide();}
else   $w("#vimgseascape").show();
if (items["#draw"]) {                      //draw
    $w("#vimgdraw").hide();}
else   $w("#vimgdraw").show();
if (items["#photograph"]) {                //photograph
    $w("#vimgphoto").hide();}
else   $w("#vimgphoto").show();
if (items["#figurative"]) {                //figurative
    $w("#vimgfigurative").hide();}
else   $w("#vimgfigurative").show();
if (items["#stilllife"]) {                 //stilllife
    $w("#vimgstilllife").hide();}
else   $w("#vimgstilllife").show();

});
});It is not working...

And this what i’m getting