Added all DNS functionality

This commit is contained in:
2020-01-18 17:50:00 -05:00
parent 4e033be21b
commit 1ffa87a980
29 changed files with 2980 additions and 1 deletions

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