mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 10:16:46 +00:00
Remove useless Array.isArray check
This commit is contained in:
parent
b29563a254
commit
bc6ef7780c
@ -430,7 +430,7 @@ export class HaConfigDevicePage extends LitElement {
|
||||
if (Array.isArray(this._diagnosticDownloadLinks)) {
|
||||
deviceActions.push(...this._diagnosticDownloadLinks);
|
||||
}
|
||||
if (Array.isArray(this._deleteButtons)) {
|
||||
if (this._deleteButtons) {
|
||||
deviceActions.push(...this._deleteButtons);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user