mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 14:47:23 +00:00
Updated the if statement for the tag and the location
This commit is contained in:
@ -120,7 +120,7 @@ class DraggableCard extends StatelessWidget {
|
|||||||
height: 4,
|
height: 4,
|
||||||
),
|
),
|
||||||
Visibility(
|
Visibility(
|
||||||
visible: deviceData['tag'] != null,
|
visible: deviceData['tag'] != null && deviceData['tag'] != '',
|
||||||
child: Row(
|
child: Row(
|
||||||
spacing: 2,
|
spacing: 2,
|
||||||
children: [
|
children: [
|
||||||
@ -143,13 +143,13 @@ class DraggableCard extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
Visibility(
|
Visibility(
|
||||||
visible: deviceData['subSpace'] != null || deviceData['subSpace'] != '',
|
visible: deviceData['subSpace'] != null && deviceData['subSpace'] != '',
|
||||||
child: const SizedBox(
|
child: const SizedBox(
|
||||||
height: 4,
|
height: 4,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Visibility(
|
Visibility(
|
||||||
visible: deviceData['subSpace'] != null || deviceData['subSpace'] != '',
|
visible: deviceData['subSpace'] != null && deviceData['subSpace'] != '',
|
||||||
child: Row(
|
child: Row(
|
||||||
spacing: 2,
|
spacing: 2,
|
||||||
children: [
|
children: [
|
||||||
|
Reference in New Issue
Block a user