Added all DNS functionality
This commit is contained in:
1 parent
4e033be21b
commit
1ffa87a980
29 files changed
+2980
-1
No files matched your search
+5
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user