Added all DNS functionality
This commit is contained in:
@ -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