Added all DNS functionality

This commit is contained in:
brad committed 2020-01-18 17:50:00 -05:00
1 parent 4e033be21b
commit 1ffa87a980
29 files changed
+2980 -1

No files matched your search

+5 -1
View File
@@ -233,8 +233,12 @@ import { settings, elements, regionNames, apiGet, parseParams, setupHeader } fro
return;
}
// Remove tag filter if there are no linodes with given tag
if (data.linodes.length == 0 && data.params.tag)
location.href = "/linodes";
// Redirect to add page if there are no linodes
if (data.linodes.length == 0)
if (data.linodes.length == 0 && !data.params.tag)
location.href = "/linodes/add";
// Sort